diff options
author | Inderpal Singh <inderpal.singh@samsung.com> | 2012-11-22 06:46:27 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-11-27 23:42:06 +0100 |
commit | ebee8541475f2f70d9035265f059570d2f701d5f (patch) | |
tree | feb556e2ece35584ff988e7f1e000c1d63f71941 /arch/arm/mach-exynos | |
parent | ARM: EXYNOS: Add support for rtc wakeup (diff) | |
download | linux-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/arm/mach-exynos')
-rw-r--r-- | arch/arm/mach-exynos/pm.c | 4 |
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; } |