aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2009-04-27 10:50:23 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2009-08-05 12:10:51 -0400
commit3a6667acf916b3e32be4682196882fc2ed0ec23e (patch)
tree9a45d02e5ca9ab1aa0a42f6fb2a25b49125c6318 /arch/arm/mach-omap2
parent364dd47466ff7a7749bf037df4bf3b7aedbfe6f4 (diff)
OMAP3: PM: Ensure PRCM interrupts are cleared at boot
Any pending PRCM interrupts can prevent retention. Ensure they are cleared during boot. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 765cdc0cd7a8..cc83dfc39a8b 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -613,6 +613,9 @@ static void __init prcm_setup_regs(void)
613 /* Clear any pending PRCM interrupts */ 613 /* Clear any pending PRCM interrupts */
614 prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); 614 prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET);
615 615
616 /* Clear any pending PRCM interrupts */
617 prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET);
618
616 omap3_iva_idle(); 619 omap3_iva_idle();
617 omap3_d2d_idle(); 620 omap3_d2d_idle();
618} 621}