ARM: EXYNOS: Add flush_cache_all in suspend finisher
authorAbhilash Kesavan <a.kesavan@samsung.com>
Thu, 22 Nov 2012 05:46:40 +0000 (14:46 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 27 Nov 2012 22:42:08 +0000 (07:42 +0900)
The core cpu_suspend code no longer calls flush_cache_all to
optimize the cpu idle flow. Add a call for the same in the
exynos specific suspend code.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm.c

index 8dedeb2..8df6ec5 100644 (file)
@@ -81,6 +81,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();