From ebee8541475f2f70d9035265f059570d2f701d5f Mon Sep 17 00:00:00 2001 From: Inderpal Singh Date: Thu, 22 Nov 2012 14:46:27 +0900 Subject: [PATCH] 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 Tested-by: Abhilash Kesavan Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos/pm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index c06c992..8dedeb2 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; } -- 2.7.4