summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2015-09-15 14:47:34 -0500
committerTony Lindgren <tony@atomide.com>2015-09-16 17:01:39 -0700
commit08224a7d410699abce42674ee15a7cf37d54f340 (patch)
tree70f88c1adb75f3da9c85a5fa2c6372b45f187527
parent5005296e7408c055a02fc8be9f62218cb4b52b13 (diff)
downloadlinux-stable-08224a7d410699abce42674ee15a7cf37d54f340.tar.gz
linux-stable-08224a7d410699abce42674ee15a7cf37d54f340.tar.bz2
linux-stable-08224a7d410699abce42674ee15a7cf37d54f340.zip
ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late
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>
-rw-r--r--arch/arm/mach-omap2/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index 980c9372e6fd..3eaeaca5da05 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -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