OMAP3: PM: readability fix for IVA2 DPLL autoidle
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.
Signed-off-by Kevin Hilman <[email protected]>
--- arch/arm/mach-omap2/pm34xx.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
arch/arm/mach-omap2/pm34xx.c +2 -3
@@ -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
Quoted 7 lines · Kevin Hilman
No functional change, just a readability fix.
The symbolic name of the shift value used in writing
CM_AUTOIDLE_PLL_IVA2referred values in theCM_CLKSTCTRL_IVA2register. Fix this to use the AUTOIDLE fields.Signed-off-by Kevin Hilman <[email protected]>
Acked-by Paul Walmsley <[email protected]>
- Paul
Tony Lindgren
maintainerQuoted 11 lines · Paul Walmsley
Quoted 7 lines · Kevin Hilman
No functional change, just a readability fix.
The symbolic name of the shift value used in writing
CM_AUTOIDLE_PLL_IVA2referred values in theCM_CLKSTCTRL_IVA2register. Fix this to use the AUTOIDLE fields.Signed-off-by Kevin Hilman <[email protected]>Acked-by Paul Walmsley <[email protected]>
Pushing today.
Tony