aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@samsung.com>2012-11-22 14:46:27 +0900
committerKukjin Kim <kgene.kim@samsung.com>2012-11-28 07:42:06 +0900
commitebee8541475f2f70d9035265f059570d2f701d5f (patch)
treefeb556e2ece35584ff988e7f1e000c1d63f71941 /arch
parent3445513ca283ebf55ce2345ef408f28d98884dab (diff)
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 c06c992943a..8dedeb23792 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;
}