diff options
author | Mike Rapoport <mike@compulab.co.il> | 2009-05-26 06:41:46 (GMT) |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-06-05 02:50:25 (GMT) |
commit | 9599d1dbc2264355ecad0bae76bf6c1236c84c73 (patch) | |
tree | c0b5c9ca44511105dbdf76b54605dca8009cd5fd /arch/arm/mach-pxa/em-x270.c | |
parent | 128d88b82e47d070170c256b2b19f57c352af310 (diff) | |
download | linux-9599d1dbc2264355ecad0bae76bf6c1236c84c73.tar.xz |
[ARM] pxa/em-x270, cm-x270: use DEEPSLEEP for PM_SUSPEND_MEM
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/em-x270.c')
-rw-r--r-- | arch/arm/mach-pxa/em-x270.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index 3ff1fec..243e080 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c @@ -1215,6 +1215,10 @@ static void __init em_x270_init(void) { pxa2xx_mfp_config(ARRAY_AND_SIZE(common_pin_config)); +#ifdef CONFIG_PM + pxa27x_set_pwrmode(PWRMODE_DEEPSLEEP); +#endif + if (machine_is_em_x270()) em_x270_module_init(); else if (machine_is_exeda()) |