summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/cm-x270.c
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2009-05-26 08:41:46 +0200
committerEric Miao <eric.y.miao@gmail.com>2009-06-05 04:50:25 +0200
commit9599d1dbc2264355ecad0bae76bf6c1236c84c73 (patch)
treec0b5c9ca44511105dbdf76b54605dca8009cd5fd /arch/arm/mach-pxa/cm-x270.c
parent[ARM] pxa/em-x270: add support for on-board USB Hub (diff)
downloadlinux-9599d1dbc2264355ecad0bae76bf6c1236c84c73.tar.xz
linux-9599d1dbc2264355ecad0bae76bf6c1236c84c73.zip
[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/cm-x270.c')
-rw-r--r--arch/arm/mach-pxa/cm-x270.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/cm-x270.c b/arch/arm/mach-pxa/cm-x270.c
index 34576ba5f5fd..1d2cec25391d 100644
--- a/arch/arm/mach-pxa/cm-x270.c
+++ b/arch/arm/mach-pxa/cm-x270.c
@@ -335,6 +335,10 @@ void __init cmx270_init(void)
{
pxa2xx_mfp_config(ARRAY_AND_SIZE(cmx270_pin_config));
+#ifdef CONFIG_PM
+ pxa27x_set_pwrmode(PWRMODE_DEEPSLEEP);
+#endif
+
cmx270_init_rtc();
cmx270_init_mmc();
cmx270_init_ohci();