Skip to contentSkip to conversation

OMAP3: PM: readability fix for IVA2 DPLL autoidle

PATCH In review Kevin Hilman 3 participants 3 messages Nov 25, 2008 – Nov 26, 2008

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 OMAP3: PM: readability fix for IVA2 DPLL autoidle

No functional change, just a readability fix.

The symbolic name of the shift value used in writing CM_AUTOIDLE_PLL_IVA2 referred values in the CM_CLKSTCTRL_IVA2 register. Fix this to use the AUTOIDLE fields.

---
 arch/arm/mach-omap2/pm34xx.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
arch/arm/mach-omap2/pm34xx.c +2 -3
index 804b3ac..05de1f7 100644
@@ -501,9 +501,8 @@ static void __init prcm_setup_regs(void)
 	 * Set all plls to autoidle. This is needed until autoidle is
 	 * enabled by clockfw
 	 */
-	cm_write_mod_reg(1 << OMAP3430_CLKTRCTRL_IVA2_SHIFT,
-			 OMAP3430_IVA2_MOD,
-			 CM_AUTOIDLE2);
+	cm_write_mod_reg(1 << OMAP3430_AUTO_IVA2_DPLL_SHIFT,
+			 OMAP3430_IVA2_MOD, CM_AUTOIDLE2);
 	cm_write_mod_reg(1 << OMAP3430_AUTO_MPU_DPLL_SHIFT,
 			 MPU_MOD,
 			 CM_AUTOIDLE2);
Signature · 1 line
1.6.0.3