Explorar o código

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>
Inderpal Singh %!s(int64=12) %!d(string=hai) anos
pai
achega
ebee854147
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      arch/arm/mach-exynos/pm.c

+ 4 - 0
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;
 }