summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/pm.c
diff options
context:
space:
mode:
authorLinus Torvalds2005-09-05 09:17:25 +0200
committerLinus Torvalds2005-09-05 09:17:25 +0200
commit64c4813d9ea0d646a0652bd9dcc5b40db6ddce69 (patch)
tree98658d9009182e79cb443cef67afbdc4bb3b8a48 /arch/arm/mach-s3c2410/pm.c
parentMerge master.kernel.org:/home/rmk/linux-2.6-serial (diff)
parent[ARM] Wrap calls to descriptor handlers (diff)
downloadkernel-qcow2-linux-64c4813d9ea0d646a0652bd9dcc5b40db6ddce69.tar.gz
kernel-qcow2-linux-64c4813d9ea0d646a0652bd9dcc5b40db6ddce69.tar.xz
kernel-qcow2-linux-64c4813d9ea0d646a0652bd9dcc5b40db6ddce69.zip
Merge master.kernel.org:/home/rmk/linux-2.6-arm
Diffstat (limited to 'arch/arm/mach-s3c2410/pm.c')
-rw-r--r--arch/arm/mach-s3c2410/pm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/pm.c b/arch/arm/mach-s3c2410/pm.c
index 13a48ee77484..fe57d966a34d 100644
--- a/arch/arm/mach-s3c2410/pm.c
+++ b/arch/arm/mach-s3c2410/pm.c
@@ -585,14 +585,16 @@ static int s3c2410_pm_enter(suspend_state_t state)
s3c2410_pm_check_store();
- // need to make some form of time-delta
-
/* send the cpu to sleep... */
__raw_writel(0x00, S3C2410_CLKCON); /* turn off clocks over sleep */
s3c2410_cpu_suspend(regs_save);
+ /* restore the cpu state */
+
+ cpu_init();
+
/* unset the return-from-sleep flag, to ensure reset */
tmp = __raw_readl(S3C2410_GSTATUS2);