summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/pm.c
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-06-14 12:04:01 +0200
committerBob Liu <lliubbo@gmail.com>2012-07-24 07:39:51 +0200
commitd49cdf84096392359a4d532733ab5a165d24bb0d (patch)
tree6fcf9be93ab88c1424184cd9e76f594a4e1cf9ec /arch/blackfin/mach-common/pm.c
parentbf609: add HDMI support for adv7842 (diff)
downloadlinux-d49cdf84096392359a4d532733ab5a165d24bb0d.tar.xz
linux-d49cdf84096392359a4d532733ab5a165d24bb0d.zip
bf60x: pm: add pint suspend and resume support
save and restore pint sec CTL save and restore pint registers add pint suspend and resume when suspend to mem Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to '')
-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)
bfin_gpio_pm_hibernate_suspend();
+ bfin_pint_suspend();
+
#if defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK)
flushinv_all_dcache();
#endif
@@ -190,6 +192,8 @@ int bfin_pm_suspend_mem_enter(void)
_enable_icplb();
_enable_dcplb();
+ bfin_pint_resume();
+
bfin_gpio_pm_hibernate_restore();
blackfin_dma_resume();