@@ -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;
}