]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP2: Force APLLs always active
authorJuha Yrjola <juha.yrjola@solidboot.com>
Mon, 25 Sep 2006 23:24:22 +0000 (02:24 +0300)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Mon, 25 Sep 2006 23:24:22 +0000 (02:24 +0300)
The APLLs are most efficiently idled by hardware.

Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
arch/arm/mach-omap2/clock.c

index 0de201c3d50b4a09d488109338d90a1df12597a9..c48c0ac0a2970156c25331fbb51b05f2df03d68b 100644 (file)
@@ -1159,8 +1159,8 @@ int __init omap2_clk_init(void)
        clk_enable(&sync_32k_ick);
        clk_enable(&omapctrl_ick);
 
-       /* Force the APLLs active during bootup to avoid disabling and
-        * enabling them unnecessarily. */
+       /* Force the APLLs always active. The clocks are idled
+        * automatically by hardware. */
        clk_enable(&apll96_ck);
        clk_enable(&apll54_ck);
 
@@ -1173,12 +1173,3 @@ int __init omap2_clk_init(void)
 
        return 0;
 }
-
-static int __init omap2_disable_aplls(void)
-{
-       clk_disable(&apll96_ck);
-       clk_disable(&apll54_ck);
-
-       return 0;
-}
-late_initcall(omap2_disable_aplls);