summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/pm.c
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/arm/mach-exynos/pm.c
parent3445513ca283ebf55ce2345ef408f28d98884dab (diff)
downloadop-kernel-dev-ebee8541475f2f70d9035265f059570d2f701d5f.zip
op-kernel-dev-ebee8541475f2f70d9035265f059570d2f701d5f.tar.gz
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/pm.c')
-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 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;
}
OpenPOWER on IntegriCloud