[REPOST PATCH] ARM: sunxi: stop timer from ticking before enabling interrupts
Daniel Lezcano
daniel.lezcano at linaro.org
Mon Dec 2 06:57:21 EST 2013
On 12/02/2013 10:29 AM, Marc Zyngier wrote:
> The sun4i timer can still be ticking when we enable the interrupt.
> If another timer is actually used (A7 architected timer, for example),
> odds are that the interrupt will eventually fire with the event_handler
> pointer being NULL.
>
> The obvious fix it to stop the timer before registering the interrupt.
>
> Observed and tested on sun7i (cubietruck).
>
> Cc: Daniel Lezcano <daniel.lezcano at linaro.org>
> Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
> ---
Applied to my tree as 3.13 fixes.
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