summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/z2.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-30 21:26:37 +0100
committerArnd Bergmann <arnd@arndb.de>2011-10-30 21:26:37 +0100
commit91fed558d0f33c74477569f50ed883fe6d430f1f (patch)
tree84b32eb5f9b995efc21e39ee241fed38372d5f3b /arch/arm/mach-pxa/z2.c
parentdb1c5628eb8a321af7585e58019de99ccd2f28b2 (diff)
parent1a64200ec5e93be03e27c3b2fc332e04ae443eb2 (diff)
Merge branch 'pxa/fixes' into next/fixes
Diffstat (limited to 'arch/arm/mach-pxa/z2.c')
-rw-r--r--arch/arm/mach-pxa/z2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/z2.c b/arch/arm/mach-pxa/z2.c
index 6c9275a20c91..a82d4207f235 100644
--- a/arch/arm/mach-pxa/z2.c
+++ b/arch/arm/mach-pxa/z2.c
@@ -686,7 +686,8 @@ static void z2_power_off(void)
*/
PSPR = 0x0;
local_irq_disable();
- pxa27x_cpu_suspend(PWRMODE_DEEPSLEEP, PLAT_PHYS_OFFSET - PAGE_OFFSET);
+ pxa27x_set_pwrmode(PWRMODE_DEEPSLEEP);
+ pxa27x_cpu_pm_enter(PM_SUSPEND_MEM);
}
#else
#define z2_power_off NULL