diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-04-27 07:50:23 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-28 10:59:09 -0700 |
commit | 014c46db1c596299fc2c1d231cee30bb211035dc (patch) | |
tree | 7d4d7f839fbc5dc3b740d59472c63bfe49c022ae | |
parent | 94a3ef6f2888ae995a8d112e277ed8465a9457fb (diff) | |
download | op-kernel-dev-014c46db1c596299fc2c1d231cee30bb211035dc.zip op-kernel-dev-014c46db1c596299fc2c1d231cee30bb211035dc.tar.gz |
OMAP3: PM: Ensure PRCM interrupts are cleared at boot
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index f72e254..6bbb047 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) prm_write_mod_reg(OMAP3430_IO_EN | OMAP3430_WKUP_EN, OCP_MOD, OMAP3_PRM_IRQENABLE_MPU_OFFSET); + /* Clear any pending PRCM interrupts */ + prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET); + omap3_iva_idle(); omap3_d2d_idle(); } |