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

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