projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364dd47
)
OMAP3: PM: Ensure PRCM interrupts are cleared at boot
author
Kevin Hilman
<khilman@deeprootsystems.com>
Mon, 27 Apr 2009 14:50:23 +0000
(07:50 -0700)
committer
Kevin Hilman
<khilman@deeprootsystems.com>
Wed, 5 Aug 2009 16:10:51 +0000
(09:10 -0700)
Any pending PRCM interrupts can prevent retention. Ensure
they are cleared during boot.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm34xx.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/pm34xx.c
b/arch/arm/mach-omap2/pm34xx.c
index 765cdc0cd7a8414ff4c1beb2d44f1f564493c936..cc83dfc39a8bec6ef4ae386f54e17feb937cd23c 100644
(file)
--- 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)
/* Clear any pending PRCM interrupts */
prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_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();
}