summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorJuha Yrjola <juha.yrjola@solidboot.com>2006-12-06 17:13:47 -0800
committerTony Lindgren <tony@atomide.com>2007-08-22 00:42:51 -0700
commit1abc70fcd81b920dd7a1091ba8863dfe5463b130 (patch)
tree6759e2c9207867fb0c507822c2efe279bbd48d88 /arch/arm
parent666cd174c451c172dd115b9d94f150efe627b609 (diff)
downloadkernel-crypto-1abc70fcd81b920dd7a1091ba8863dfe5463b130.tar.gz
kernel-crypto-1abc70fcd81b920dd7a1091ba8863dfe5463b130.tar.xz
kernel-crypto-1abc70fcd81b920dd7a1091ba8863dfe5463b130.zip
ARM: OMAP2: Force APLLs always active
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/clock.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
index 588adb5ab47..d9af4367f8b 100644
--- a/arch/arm/mach-omap2/clock.c
+++ b/arch/arm/mach-omap2/clock.c
@@ -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);