From 678f5ac888170a5a6ba774edd6febe6f8bc4cb05 Mon Sep 17 00:00:00 2001 From: Quinn Jensen Date: Thu, 24 May 2007 18:23:49 -0600 Subject: 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. This patch fixes the problem. http://www.bitshrine.org/gpp/linux-2.6.19.2-mx31_suspend_resumes_on_eth_activity.patch --- arch/arm/mach-mx3/mxc_pm.c | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- cgit v1.2.3