power/reset: at91-reset: get and use slow clock
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 11 Aug 2015 09:12:48 +0000 (11:12 +0200)
committerSebastian Reichel <sre@kernel.org>
Tue, 22 Sep 2015 13:18:52 +0000 (15:18 +0200)
commit2b2c6148fe851042cefbf272146b77634a4da39d
tree8988ea9ab2c0b3869f2f400a29cdfc33d1cb0cd6
parent6e64180a7c0219d769e05b6dbe5af4a073c1eb92
power/reset: at91-reset: 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 at91 reset
controller.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/at91-reset.c