summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/pm.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-01-25 23:44:17 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-04-18 16:31:02 +0200
commitf5fa4098c3fcc0e504fbc0682dccd331dbbcf197 (patch)
treef409c2b7fea4d220a6e0682f09c1133f208fe97b /arch/arm/mach-at91/pm.c
parentARM: at91: change "Unknown" qualifier SoC subtype handling (diff)
downloadlinux-f5fa4098c3fcc0e504fbc0682dccd331dbbcf197.tar.xz
linux-f5fa4098c3fcc0e504fbc0682dccd331dbbcf197.zip
ARM: at91: suspend both memory controllers on at91sam9263
For the past three years, we have had a #warning in mach-at91 about the sdram_selfrefresh_enable or at91sam9_standby functions possibly not working on at91sam9263. In the meantime a function was added to do the right thing on at91sam9g45, which looks like it should also work on '9263. Signed-off-by: Arnd Bergmann <arnd@arndb.de> [nicolas.ferre@atmel.com: remove paragraph in commit message] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'arch/arm/mach-at91/pm.c')
-rw-r--r--arch/arm/mach-at91/pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c
index adb6db888a1f..b8017c1a864d 100644
--- a/arch/arm/mach-at91/pm.c
+++ b/arch/arm/mach-at91/pm.c
@@ -267,6 +267,8 @@ static int at91_pm_enter(suspend_state_t state)
at91rm9200_standby();
else if (cpu_is_at91sam9g45())
at91sam9g45_standby();
+ else if (cpu_is_at91sam9263())
+ at91sam9263_standby();
else
at91sam9_standby();
break;