aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-02-11 12:40:45 -0500
committerTony Lindgren <tony@atomide.com>2013-02-11 12:40:45 -0500
commit93b23711b7132400d4d76f31c660d27a2bb0afdb (patch)
tree9de75a8020d78fc210f82451414bc0a09f6fa228 /arch/arm/mach-omap2/pm.c
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff)
parenta5a8c31d9f7587b601ecf0106c8abeabe3da24c3 (diff)
Merge tag 'omap-devel-d2-for-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into omap-for-v3.9/pm-omap4
Some OMAP4 power management fixes and audio device integration patches. This pull request contains a fix for an issue discovered during branch integration. Basic test logs are available at: http://www.pwsan.com/omap/testlogs/omap4_prcm_devel_a_3.9/20130210112717/
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r--arch/arm/mach-omap2/pm.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
index f4b3143a8b1d..1ec429964b7f 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -345,19 +345,19 @@ int __init omap2_common_pm_late_init(void)
345 * a completely different mechanism. 345 * a completely different mechanism.
346 * Disable this part if a DT blob is available. 346 * Disable this part if a DT blob is available.
347 */ 347 */
348 if (of_have_populated_dt()) 348 if (!of_have_populated_dt()) {
349 return 0;
350 349
351 /* Init the voltage layer */ 350 /* Init the voltage layer */
352 omap_pmic_late_init(); 351 omap_pmic_late_init();
353 omap_voltage_late_init(); 352 omap_voltage_late_init();
354 353
355 /* Initialize the voltages */ 354 /* Initialize the voltages */
356 omap3_init_voltages(); 355 omap3_init_voltages();
357 omap4_init_voltages(); 356 omap4_init_voltages();
358 357
359 /* Smartreflex device init */ 358 /* Smartreflex device init */
360 omap_devinit_smartreflex(); 359 omap_devinit_smartreflex();
360 }
361 361
362#ifdef CONFIG_SUSPEND 362#ifdef CONFIG_SUSPEND
363 suspend_set_ops(&omap_pm_ops); 363 suspend_set_ops(&omap_pm_ops);