ARM: OMAP2: Force APLLs always active
authorJuha Yrjola <juha.yrjola@solidboot.com>
Thu, 7 Dec 2006 01:13:47 +0000 (17:13 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 22 Aug 2007 07:42:51 +0000 (00:42 -0700)
The APLLs are most efficiently idled by hardware.

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

index 588adb5ab47fa2b4bd796fc9c2c42a4529eb308e..d9af4367f8bb033376c1f2863bc0de95c27d70f4 100644 (file)
@@ -1160,8 +1160,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);
 
@@ -1174,12 +1174,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);