rtc: rtc-mv: Add support for clk to avoid lockups
authorAndrew Lunn <[email protected]>
Sun, 3 Feb 2013 11:32:06 +0000 (12:32 +0100)
committerJason Cooper <[email protected]>
Fri, 8 Mar 2013 21:34:41 +0000 (21:34 +0000)
commit89c58c198b252f2bc20657fdd72a2aea788c435c
tree735d8844993deb5a8d39efb171db8331241ce547
parentde88747f514a4e0cca416a8871de2302f4f77790
rtc: rtc-mv: Add support for clk to avoid lockups

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 <[email protected]>
Signed-off-by: Andrew Lunn <[email protected]>
Tested-by: Simon Baatz <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
arch/arm/boot/dts/kirkwood.dtsi
drivers/rtc/rtc-mv.c