OSDN Git Service

watchdog: at91sam9: get and use slow clock
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 16 Aug 2015 09:23:43 +0000 (11:23 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 9 Sep 2015 19:38:52 +0000 (21:38 +0200)
commita97a09bd119fbdf4ba8c634fed8f4148d1def1e0
tree90af60d8025852168cf758f7b4f9499e058339aa
parentf4fff94e3e3a712ef062c44b64ecf8f552f48ea4
watchdog: at91sam9: 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 at91sam9 watchdog.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/at91sam9_wdt.c