Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36646
b: refs/heads/master
c: dc0d794
h: refs/heads/master
v: v3
  • Loading branch information
Juha Yrjola authored and Tony Lindgren committed Sep 25, 2006
1 parent 949d286 commit 3917a11
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dee45648a5e2f3075c51f5d6b5da65b32235d3f9
refs/heads/master: dc0d794e488090082b7194738a08f18db0874900
15 changes: 15 additions & 0 deletions trunk/arch/arm/mach-omap2/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,12 @@ 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. */
clk_enable(&apll96_ck);
clk_enable(&apll54_ck);

if (cpu_is_omap2430())
clk_enable(&sdrc_ick);

Expand All @@ -1126,3 +1132,12 @@ 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 3917a11

Please sign in to comment.