rtc: at91rm9200: get and use slow clock
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 31 Jul 2015 09:39:51 +0000 (11:39 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:09 +0000 (13:19 +0200)
commit11f67a8bbf65872c3e9edc70242420a8c314a860
treef0966bbef87cadd2292f4ae6bba0e05a531960eb
parent202cc98acf96de1c3897194e1ed5ae1c80c8b0f3
rtc: at91rm9200: get and use slow clock

Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system
hang") added a workaround for the slow clock as it is not properly handled
by its users.

Get and use the slow clock as it is necessary for the at91rm9200 rtc.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-at91rm9200.c