| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | pnx_clocksource broken? |
| From: | John Stultz <john.stultz@linaro.org> |
| Date: | Tue, 10 Apr 2012 18:58:09 -0700 |
| Cc: | Yong Zhang <yong.zhang0@gmail.com>, linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 |
Looking at arch/mips/pnx8550/common/time.c the pnx_clocksource never
seems to be assigned a mult/shift value before it calls
clocksource_register(). Clearly this is broken and I suspect this
clocksource is never used.
I was hoping to convert this driver over (its the last of 3 remaining) to use clocksource_register_hz/khz() but I'm not sure what the actual frequency of the hardware should be. Is mips_hpt_frequency the right value here? Even so, if this is clocksource is never used, should it just be removed? thanks -john |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] irq/irq_domain: Quit ignoring error returns from irq_alloc_desc_from()., Grant Likely |
|---|---|
| Next by Date: | Re: [PATCH] Add MIPS64R2 core support., Sergei Shtylyov |
| Previous by Thread: | Re: [PATCH 4/5] staging: octeon_ethernet: Convert to use device tree., Greg Kroah-Hartman |
| Next by Thread: | Any NXP PNX user left (was: Re: pnx_clocksource broken?), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |