Skip to content

Commit

Permalink
ARM: EXYNOS: Add flush_cache_all in suspend finisher
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Abhilash Kesavan authored and Kukjin Kim committed Nov 27, 2012
1 parent a633208 commit 573e5bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-exynos/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 573e5bb

Please sign in to comment.