projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35
[openwrt.git]
/
target
/
linux
/
xburst
/
files-2.6.32
/
arch
/
mips
/
jz4740
/
pm.c
diff --git
a/target/linux/xburst/files-2.6.32/arch/mips/jz4740/pm.c
b/target/linux/xburst/files-2.6.32/arch/mips/jz4740/pm.c
index
9fb0ceb
..
e7e463e
100644
(file)
--- a/
target/linux/xburst/files-2.6.32/arch/mips/jz4740/pm.c
+++ b/
target/linux/xburst/files-2.6.32/arch/mips/jz4740/pm.c
@@
-20,12
+20,18
@@
#include <asm/mach-jz4740/regs.h>
#include <asm/mach-jz4740/clock.h>
#include <asm/mach-jz4740/regs.h>
#include <asm/mach-jz4740/clock.h>
+#include "clock.h"
+
extern void jz4740_intc_suspend(void);
extern void jz4740_intc_resume(void);
extern void jz4740_intc_suspend(void);
extern void jz4740_intc_resume(void);
+extern void jz_gpio_suspend(void);
+extern void jz_gpio_resume(void);
static int jz_pm_enter(suspend_state_t state)
{
static int jz_pm_enter(suspend_state_t state)
{
+ jz_gpio_suspend();
jz4740_intc_suspend();
jz4740_intc_suspend();
+ jz4740_clock_suspend();
jz4740_clock_set_wait_mode(JZ4740_WAIT_MODE_SLEEP);
jz4740_clock_set_wait_mode(JZ4740_WAIT_MODE_SLEEP);
@@
-35,7
+41,9
@@
static int jz_pm_enter(suspend_state_t state)
jz4740_clock_set_wait_mode(JZ4740_WAIT_MODE_IDLE);
jz4740_clock_set_wait_mode(JZ4740_WAIT_MODE_IDLE);
+ jz4740_clock_resume();
jz4740_intc_resume();
jz4740_intc_resume();
+ jz_gpio_resume();
return 0;
}
return 0;
}
This page took
0.019945 seconds
and
4
git commands to generate.