OMAP3: PM: Disable interrupt controller AUTOIDLE before WFI
authorTero Kristo <tero.kristo@nokia.com>
Fri, 23 Oct 2009 16:03:50 +0000 (19:03 +0300)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 21 Jan 2010 02:16:00 +0000 (18:16 -0800)
commitf18cc2ff5e18e8eb6df5284866331ef4a2db58d6
tree5d20f9ba3a46c44ba11c3ed1deeed8e60e8115cc
parentb296c8118b26a359b027b8c9bb9f5f41dc7693fa
OMAP3: PM: Disable interrupt controller AUTOIDLE before WFI

OMAP interrupt controller goes to unknown state when there is right
combination of l3,l4 sleep/wake-up transitions, l4 autoidle in
interrupt controller and some interrupt. When this happens, interrupts
are not delivered to ARM anymore and ARM will remain in WFI (wait for
interrupt) until interrupt controller is forced to wake-up
(i.e. lauterbach).

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/irq.c
arch/arm/mach-omap2/pm34xx.c
arch/arm/plat-omap/include/plat/irqs.h