[PATCH v2] rtc: rtc-mv: Add support for clk to avoid lockups
Jason Cooper
jason at lakedaemon.net
Sun Feb 3 20:50:13 EST 2013
On Sun, Feb 03, 2013 at 12:32:06PM +0100, Andrew Lunn wrote:
> The Marvell RTC on Kirkwood makes use of the runit clock. Ensure the
> driver clk_prepare_enable() this clock, otherwise there is a danger
> the SoC will lockup when accessing RTC registers with the clock
> disabled.
>
> Reported-by: Simon Baatz gmbnomis at gmail.com
> Signed-off-by: Andrew Lunn <andrew at lunn.ch>
> ---
>
> Since v1:
> Enable clock before accessing RTC registers.
>
> arch/arm/boot/dts/kirkwood.dtsi | 1 +
> drivers/rtc/rtc-mv.c | 28 ++++++++++++++++++++++++----
> 2 files changed, 25 insertions(+), 4 deletions(-)
Applied to mvebu/fixes with Simon's Tested-by: and added '<' '>' to the
Reported-by:.
thx,
Jason.
More information about the linux-arm-kernel
mailing list