summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
authorTero Kristo2009-10-23 18:03:48 +0200
committerKevin Hilman2010-01-21 03:15:58 +0100
commit2bbe3af3f1e1c1d0992c984e05d061ef5469edb4 (patch)
treedf2f0e2ef2561930d277d0923dd15012046646ff /arch/arm/mach-omap2/pm34xx.c
parentLinux 2.6.33-rc4 (diff)
downloadkernel-qcow2-linux-2bbe3af3f1e1c1d0992c984e05d061ef5469edb4.tar.gz
kernel-qcow2-linux-2bbe3af3f1e1c1d0992c984e05d061ef5469edb4.tar.xz
kernel-qcow2-linux-2bbe3af3f1e1c1d0992c984e05d061ef5469edb4.zip
OMAP3: PM: Ack pending interrupts before entering suspend
Suspending drivers may still generate interrupts just before their suspend is completed. Any pending interrupts here will prevent sleep. Signed-off-by: Tero Kristo <tero.kristo@nokia.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index c6cc809afb79..b26418d55076 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -578,6 +578,8 @@ static int omap3_pm_suspend(void)
}
omap_uart_prepare_suspend();
+ omap3_intc_suspend();
+
omap_sram_idle();
restore: