[PATCH] clocksource: sirf: fix incorrect clock enable counter for timer
Daniel Lezcano
daniel.lezcano at linaro.org
Mon Jul 21 07:45:02 PDT 2014
On 07/03/2014 02:52 PM, Barry Song wrote:
> From: Zhiwu Song <Zhiwu.Song at csr.com>
>
> in the clocksource driver, we didn't explicitly enable the clock.
> it makes the clk reference counter wrong.
> we didn't encounter any hang issue because the tick's clock input
> has been open and is shared by some other hardware components, but
> if we don't enable those components in kernel, in the stage of
> disabling unused clk in kernel boot, Linux tick hangs.
>
> this patch fixes it. it does an explicit prepare and enable to the
> clock input, and increases the usage counter of the clk.
>
> Signed-off-by: Zhiwu Song <Zhiwu.Song at csr.com>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>
Applied to my tree for 3.17
Thanks!
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
More information about the linux-arm-kernel
mailing list