Commit b13b9e98 authored by Russell King's avatar Russell King

ARM: l2c: remove unnecessary call to outer_flush_all()

outer_disable() is defined to safely turn the L2 cache off without data
loss: this means that outer_flush_all() should never be called unless
you need to implement some special L2 cache disabling, and even then
only from your replacement L2 cache disable function.
Acked-by: default avatarBarry Song <Baohua.Song@csr.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 265c271c
...@@ -71,7 +71,6 @@ static int sirfsoc_pm_enter(suspend_state_t state) ...@@ -71,7 +71,6 @@ static int sirfsoc_pm_enter(suspend_state_t state)
case PM_SUSPEND_MEM: case PM_SUSPEND_MEM:
sirfsoc_pre_suspend_power_off(); sirfsoc_pre_suspend_power_off();
outer_flush_all();
outer_disable(); outer_disable();
/* go zzz */ /* go zzz */
cpu_suspend(0, sirfsoc_finish_suspend); cpu_suspend(0, sirfsoc_finish_suspend);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment