summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:20:46 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:20:46 -0600
commita512507b3c7befbfcd20705774c47abbe15eea22 (patch)
tree7833d23649300ddf69fcd9906f1283daa39a8f17 /arch
parent72e44f048b0f2888167b1a2312e751054a4d23fe (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.c2
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();
}