diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-02-25 23:49:53 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-02-26 00:10:42 +0100 |
commit | c6461f5c5970833cf28c5096cdfc7a095eb3bbb5 (patch) | |
tree | c4cc4f827c7282eae12669ca30230834bc84d34a /arch/arm/mach-omap2/clock3xxx.c | |
parent | omap4: dpll: Enable auto gate control for all MX postdividers (diff) | |
download | linux-c6461f5c5970833cf28c5096cdfc7a095eb3bbb5.tar.xz linux-c6461f5c5970833cf28c5096cdfc7a095eb3bbb5.zip |
OMAP2+: clock: disable autoidle on all clocks during clock init
Disable autoidle on all clocks during clock framework initialization.
(If CONFIG_PM is set, autoidle is re-enabled for all clocks later in
the boot process.)
The principle behind this patch, and some similar patches, is that the
kernel should start with all power management features disabled.
Later in the boot process, the PM code, if compiled in with CONFIG_PM,
enables or re-enables power management features.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Rajendra Nayak <rnayak@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock3xxx.c')
-rw-r--r-- | arch/arm/mach-omap2/clock3xxx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/clock3xxx.c b/arch/arm/mach-omap2/clock3xxx.c index e9f66b6dec18..952c3e01c9eb 100644 --- a/arch/arm/mach-omap2/clock3xxx.c +++ b/arch/arm/mach-omap2/clock3xxx.c @@ -65,9 +65,6 @@ void __init omap3_clk_lock_dpll5(void) clk_set_rate(dpll5_clk, DPLL5_FREQ_FOR_USBHOST); clk_enable(dpll5_clk); - /* Enable autoidle to allow it to enter low power bypass */ - omap3_dpll_allow_idle(dpll5_clk); - /* Program dpll5_m2_clk divider for no division */ dpll5_m2_clk = clk_get(NULL, "dpll5_m2_ck"); clk_enable(dpll5_m2_clk); |