diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-08-27 20:06:51 +0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-09-01 20:37:51 +0400 |
commit | c8260db557389c1fb46eeafb54414b03d9f19e49 (patch) | |
tree | 7fa322efeb42840e096350b8aafc233109ff8de2 /drivers/power | |
parent | f55df0d654e10ad49e0e7edaeef02fa00e084d94 (diff) | |
download | linux-c8260db557389c1fb46eeafb54414b03d9f19e49.tar.xz |
ARM: at91: fix ramc standby function registration
After the for_each_matching_node loop, we end up with a null value for np. Then,
of_match_node() is not matching anything and we can't register the standby
function and "ramc no standby function available" is printed.
Fix that by selecting the first available standby function. For now,
at91_pm_set_standby doesn't support multiple different standby functions and no
existing SoCs have different RAM controllers.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions