diff options
author | Paul Walmsley <paul@pwsan.com> | 2011-02-25 17:49:53 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-02-25 18:10:42 -0500 |
commit | c6461f5c5970833cf28c5096cdfc7a095eb3bbb5 (patch) | |
tree | c4cc4f827c7282eae12669ca30230834bc84d34a /arch/arm/mach-omap2/clock44xx_data.c | |
parent | 70db8a6273692fdf5226c007c9882a10b3203963 (diff) |
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/clock44xx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clock44xx_data.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index dcbe10571a0f..279534240fc3 100644 --- a/arch/arm/mach-omap2/clock44xx_data.c +++ b/arch/arm/mach-omap2/clock44xx_data.c | |||
@@ -3309,6 +3309,9 @@ int __init omap4xxx_clk_init(void) | |||
3309 | omap2_init_clk_clkdm(c->lk.clk); | 3309 | omap2_init_clk_clkdm(c->lk.clk); |
3310 | } | 3310 | } |
3311 | 3311 | ||
3312 | /* Disable autoidle on all clocks; let the PM code enable it later */ | ||
3313 | omap_clk_disable_autoidle_all(); | ||
3314 | |||
3312 | recalculate_root_clocks(); | 3315 | recalculate_root_clocks(); |
3313 | 3316 | ||
3314 | /* | 3317 | /* |