ARM: EXYNOS: Fix soft reboot hang after suspend/resume
authorInderpal Singh <inderpal.singh@samsung.com>
Thu, 22 Nov 2012 05:46:27 +0000 (14:46 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 27 Nov 2012 22:42:06 +0000 (07:42 +0900)
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>
arch/arm/mach-exynos/pm.c

index c06c992943a139bc3017854b19c4eba1cb09d4c5..8dedeb23792433fb8293e178cdfebd8711ebb3cb 100644 (file)
@@ -312,6 +312,10 @@ static void exynos_pm_resume(void)
        }
 
 early_wakeup:
+
+       /* Clear SLEEP mode set in INFORM1 */
+       __raw_writel(0x0, S5P_INFORM1);
+
        return;
 }