Merge tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[~shefty/rdma-dev.git] / arch / arm / mach-exynos / pm.c
index 8306c5276d1c062e3eb96da54ef257188aab9701..b9b539cac81e12869523ceb6c8e5e0817f6092a0 100644 (file)
@@ -85,6 +85,9 @@ static int exynos_cpu_suspend(unsigned long arg)
        outer_flush_all();
 #endif
 
+       if (soc_is_exynos5250())
+               flush_cache_all();
+
        /* issue the standby signal into the pm unit. */
        cpu_do_idle();
 
@@ -321,6 +324,10 @@ static void exynos_pm_resume(void)
        }
 
 early_wakeup:
+
+       /* Clear SLEEP mode set in INFORM1 */
+       __raw_writel(0x0, S5P_INFORM1);
+
        return;
 }