summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@samsung.com>2012-11-22 06:46:27 +0100
committerKukjin Kim <kgene.kim@samsung.com>2012-11-27 23:42:06 +0100
commitebee8541475f2f70d9035265f059570d2f701d5f (patch)
treefeb556e2ece35584ff988e7f1e000c1d63f71941 /arch
parentARM: EXYNOS: Add support for rtc wakeup (diff)
downloadlinux-ebee8541475f2f70d9035265f059570d2f701d5f.tar.xz
linux-ebee8541475f2f70d9035265f059570d2f701d5f.zip
ARM: EXYNOS: Fix soft reboot hang after suspend/resume
Upon wake-up, clear the sleep mode set in INFORM1 register. Signed-off-by: Inderpal Singh <inderpal.singh@samsung.com> Tested-by: Abhilash Kesavan <a.kesavan@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-exynos/pm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index c06c992943a1..8dedeb237924 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch/arm/mach-exynos/pm.c
@@ -312,6 +312,10 @@ static void exynos_pm_resume(void)
}
early_wakeup:
+
+ /* Clear SLEEP mode set in INFORM1 */
+ __raw_writel(0x0, S5P_INFORM1);
+
return;
}