diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-04-27 14:50:23 (GMT) |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-28 17:59:09 (GMT) |
commit | 014c46db1c596299fc2c1d231cee30bb211035dc (patch) | |
tree | 7d4d7f839fbc5dc3b740d59472c63bfe49c022ae /arch/arm | |
parent | 94a3ef6f2888ae995a8d112e277ed8465a9457fb (diff) | |
download | linux-fsl-qoriq-014c46db1c596299fc2c1d231cee30bb211035dc.tar.xz |
OMAP3: PM: Ensure PRCM interrupts are cleared at boot
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm')
-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(); } |