]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP3: PM: readability fix for IVA2 DPLL autoidle
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 25 Nov 2008 15:23:35 +0000 (07:23 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 26 Nov 2008 19:31:22 +0000 (11:31 -0800)
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 <khilman@deeprootsystems.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm34xx.c

index 9f5a54469f185e106b6831695277099e70392313..bd74183f95ff3c4b4ad5dc14558540c20591a42b 100644 (file)
@@ -481,9 +481,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);