diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-05-24 18:23:49 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-05-24 18:23:49 -0600 |
commit | 678f5ac888170a5a6ba774edd6febe6f8bc4cb05 (patch) | |
tree | d021b532a4e63e7b8e177ec177697ae7e5755954 | |
parent | 5d8e701238c30a8b2df8bc5b116fad8a41a3e89c (diff) |
Bugzilla 562: Suspend resumes on eth activity2.6.19-mx31ads-2008052400232.6.19-mx31-200805240023
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.
This patch fixes the problem.
http://www.bitshrine.org/gpp/linux-2.6.19.2-mx31_suspend_resumes_on_eth_activity.patch
-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 085a8dfc3e59..999f6905fba4 100644 --- a/arch/arm/mach-mx3/mxc_pm.c +++ b/arch/arm/mach-mx3/mxc_pm.c @@ -280,6 +280,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 */ __raw_writel(0x51, IPU_CONF); @@ -316,6 +317,7 @@ void mxc_pm_lowpower(int mode) __raw_writel(ipu_conf, IPU_CONF); __raw_writel(INT_GPT, AVIC_INTENNUM); + __raw_writel(INT_GPIO1, AVIC_INTENNUM); local_irq_enable(); } |