Move OMAP pm_idle interrupt reenable until after the next interrupt has
arrived, avoid situation where multiple interrupts are needed to exit
idle.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
return;
}
mask32 = omap_readl(ARM_SYSST);
- local_fiq_enable();
- local_irq_enable();
#if defined(CONFIG_OMAP_32K_TIMER) && defined(CONFIG_NO_IDLE_HZ)
timer_dyn_reprogram();
__asm__ volatile ("mcr p15, 0, r0, c7, c0, 4");
} else
omap_sram_idle();
+
+ local_fiq_enable();
+ local_irq_enable();
}
/*