ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late
authorDave Gerlach <d-gerlach@ti.com>
Tue, 15 Sep 2015 19:47:34 +0000 (14:47 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 17 Sep 2015 00:01:39 +0000 (17:01 -0700)
Add omap2_clk_enable_autoidle_all to am43xx_init_late otherwise the call
to omap2_clk_disable_autoidle_all in am43xx_init_early may cause some
clocks to always stay active and prevent low power mode transitions.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/io.c

index 980c9372e6fd6eb439e4161721289874992d0dd2..3eaeaca5da05f95fffe03d8927bc0b9ec0f63ef5 100644 (file)
@@ -676,6 +676,7 @@ void __init am43xx_init_early(void)
 void __init am43xx_init_late(void)
 {
        omap_common_late_init();
+       omap2_clk_enable_autoidle_all();
 }
 #endif