projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d49cdf8
)
bfin: pint: add pint suspend and resume
author
Steven Miao
<
[email protected]
>
Fri, 15 Jun 2012 03:40:48 +0000
(11:40 +0800)
committer
Bob Liu
<
[email protected]
>
Tue, 24 Jul 2012 05:39:51 +0000
(13:39 +0800)
Add pint suspend and resume if defined BFIN_GPIO_PINT.
Signed-off-by: Steven Miao <
[email protected]
>
Signed-off-by: Bob Liu <
[email protected]
>
arch/blackfin/mach-common/pm.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-common/pm.c
b/arch/blackfin/mach-common/pm.c
index 4878f36066c59b3a4c40c81bbe06b059d3ead58c..87bfe549ad3f5044b8ce652434b98d00470672fc 100644
(file)
--- a/
arch/blackfin/mach-common/pm.c
+++ b/
arch/blackfin/mach-common/pm.c
@@
-172,7
+172,9
@@
int bfin_pm_suspend_mem_enter(void)
bfin_gpio_pm_hibernate_suspend();
+#if BFIN_GPIO_PINT
bfin_pint_suspend();
+#endif
#if defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK)
flushinv_all_dcache();
@@
-192,7
+194,9
@@
int bfin_pm_suspend_mem_enter(void)
_enable_icplb();
_enable_dcplb();
+#if BFIN_GPIO_PINT
bfin_pint_resume();
+#endif
bfin_gpio_pm_hibernate_restore();
blackfin_dma_resume();