diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:20:46 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:20:46 -0600 |
commit | a512507b3c7befbfcd20705774c47abbe15eea22 (patch) | |
tree | 7833d23649300ddf69fcd9906f1283daa39a8f17 /arch | |
parent | 72e44f048b0f2888167b1a2312e751054a4d23fe (diff) |
Bugzilla 562: Suspend resumes on eth activity
Patch for Bugzilla 562: Suspend resumes on eth activity
Patch to linux-2.6.19.2 for MX31. When the MX31 is suspended it
was resuming on ethernet activity due to a CPLD interrupt.
http://www.bitshrine.org/gpp/linux-2.6.22-mx-Bugzilla-562-Suspend-resumes-on-eth-activi.patch
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx3/mxc_pm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mxc_pm.c b/arch/arm/mach-mx3/mxc_pm.c index 9c58338d928b..bed502168261 100644 --- a/arch/arm/mach-mx3/mxc_pm.c +++ b/arch/arm/mach-mx3/mxc_pm.c @@ -301,6 +301,7 @@ void mxc_pm_lowpower(int mode) /* State Retention mode */ lpm = 2; __raw_writel(INT_GPT, AVIC_INTDISNUM); + __raw_writel(INT_GPIO1, AVIC_INTDISNUM); /* work-around for SR mode after camera related test */ mxc_clks_enable(CSI_BAUD); @@ -339,6 +340,7 @@ void mxc_pm_lowpower(int mode) mxc_clks_disable(CSI_BAUD); __raw_writel(INT_GPT, AVIC_INTENNUM); + __raw_writel(INT_GPIO1, AVIC_INTENNUM); local_irq_enable(); } |