diff mbox

[00/11] OMAP2+: clock: add clockfw autoidle for iclks, OMAP2xxx

Message ID b83b1717e83fc907a1caf589cc53badf@mail.gmail.com (mailing list archive)
State Awaiting Upstream, archived
Delegated to: Paul Walmsley
Headers show

Commit Message

Rajendra Nayak Feb. 16, 2011, 9:37 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index b507702..f888986 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -262,13 +262,14 @@  static int __init omap2_common_pm_late_init(void)
 	/* Smartreflex device init */
 	omap_devinit_smartreflex();

+#ifdef CONFIG_PM
 	/*
-	 * Set all OMAP3/4 DPLLs to autoidle.
-	 * XXX TODO: Add all the iclk autoidles in here as well,
-	 * the OMAP2 DPLL, the OMAP2 APLLs, and the AUTOEXTCLKMODE
-	 * control here too.
+	 * Set all OMAP2/3/4 DPLLs to autoidle.
+	 * Set OMAP2 APLLs, and the AUTOEXTCLKMODE to autoidle.
+	 * Set all the iclk autoidle,
 	 */
 	omap_clk_enable_autoidle_all();
+#endif

 	return 0;
 }