aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2009-04-27 10:50:23 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2009-05-28 13:59:09 -0400
commit014c46db1c596299fc2c1d231cee30bb211035dc (patch)
tree7d4d7f839fbc5dc3b740d59472c63bfe49c022ae /arch
parent94a3ef6f2888ae995a8d112e277ed8465a9457fb (diff)
OMAP3: PM: Ensure PRCM interrupts are cleared at boot
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch')
-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 f72e25465429..6bbb047a2757 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -595,6 +595,9 @@ static void __init prcm_setup_regs(void)
595 prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN, 595 prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN,
596 OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET); 596 OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET);
597 597
598 /* Clear any pending PRCM interrupts */
599 prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET);
600
598 omap3_iva_idle(); 601 omap3_iva_idle();
599 omap3_d2d_idle(); 602 omap3_d2d_idle();
600} 603}