]> git.karo-electronics.de Git - linux-beck.git/commit
rtc: rtc-mv: Add support for clk to avoid lockups
authorAndrew Lunn <andrew@lunn.ch>
Sun, 3 Feb 2013 11:32:06 +0000 (12:32 +0100)
committerJason Cooper <jason@lakedaemon.net>
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 <gmbnomis@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Simon Baatz <gmbnomis@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/kirkwood.dtsi
drivers/rtc/rtc-mv.c