]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Mar 2013 18:26:36 +0000 (11:26 -0700)
commit728bcbfa3be6770d56ca9a22202b80939940fd83
treee74ba3870a735d089b72caf0e6291d575ddde51f
parent1d37307ac159185e3bfdd4189a3ac8643ce7cc0e
rtc: rtc-mv: Add support for clk to avoid lockups

commit 89c58c198b252f2bc20657fdd72a2aea788c435c upstream.

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>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/kirkwood.dtsi
drivers/rtc/rtc-mv.c