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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c
index ca6655e0d653..87bfe549ad3f 100644
--- a/arch/blackfin/mach-common/pm.c
+++ b/arch/blackfin/mach-common/pm.c
@@ -172,6 +172,10 @@ int bfin_pm_suspend_mem_enter(void)
172 172
173 bfin_gpio_pm_hibernate_suspend(); 173 bfin_gpio_pm_hibernate_suspend();
174 174
175#if BFIN_GPIO_PINT
176 bfin_pint_suspend();
177#endif
178
175#if defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK) 179#if defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK)
176 flushinv_all_dcache(); 180 flushinv_all_dcache();
177#endif 181#endif
@@ -190,6 +194,10 @@ int bfin_pm_suspend_mem_enter(void)
190 _enable_icplb(); 194 _enable_icplb();
191 _enable_dcplb(); 195 _enable_dcplb();
192 196
197#if BFIN_GPIO_PINT
198 bfin_pint_resume();
199#endif
200
193 bfin_gpio_pm_hibernate_restore(); 201 bfin_gpio_pm_hibernate_restore();
194 blackfin_dma_resume(); 202 blackfin_dma_resume();
195 203