aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-common/pm.c')
-rw-r--r--arch/blackfin/mach-common/pm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c
index ca6655e0d653..4878f36066c5 100644
--- a/arch/blackfin/mach-common/pm.c
+++ b/arch/blackfin/mach-common/pm.c
@@ -172,6 +172,8 @@ int bfin_pm_suspend_mem_enter(void)
172 172
173 bfin_gpio_pm_hibernate_suspend(); 173 bfin_gpio_pm_hibernate_suspend();
174 174
175 bfin_pint_suspend();
176
175#if defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK) 177#if defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK)
176 flushinv_all_dcache(); 178 flushinv_all_dcache();
177#endif 179#endif
@@ -190,6 +192,8 @@ int bfin_pm_suspend_mem_enter(void)
190 _enable_icplb(); 192 _enable_icplb();
191 _enable_dcplb(); 193 _enable_dcplb();
192 194
195 bfin_pint_resume();
196
193 bfin_gpio_pm_hibernate_restore(); 197 bfin_gpio_pm_hibernate_restore();
194 blackfin_dma_resume(); 198 blackfin_dma_resume();
195 199