OMAP3: PM: Ensure PRCM interrupts are cleared at boot

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, June 14, 2009 - 3:01 pm

Gitweb:     http://git.kernel.org/linus/014c46db1c596299fc2c1d231cee30bb211035dc
Commit:     014c46db1c596299fc2c1d231cee30bb211035dc
Parent:     94a3ef6f2888ae995a8d112e277ed8465a9457fb
Author:     Kevin Hilman <khilman@deeprootsystems.com>
AuthorDate: Mon Apr 27 07:50:23 2009 -0700
Committer:  Kevin Hilman <khilman@deeprootsystems.com>
CommitDate: Thu May 28 10:59:09 2009 -0700

    OMAP3: PM: Ensure PRCM interrupts are cleared at boot
    
    Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
 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();
 }
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OMAP3: PM: Ensure PRCM interrupts are cleared at boot, Linux Kernel Mailing ..., (Sun Jun 14, 3:01 pm)