Skip to content

Commit

Permalink
ARM: OMAP2: Force APLLs always active
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Juha Yrjola authored and Tony Lindgren committed Aug 22, 2007
1 parent 666cd17 commit 1abc70f
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions arch/arm/mach-omap2/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);

0 comments on commit 1abc70f

Please sign in to comment.