aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.c
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-02-12 18:33:39 -0500
committerOlof Johansson <olof@lixom.net>2013-02-12 18:33:39 -0500
commitebcfe0faf969fe64060132a455db64bcc3517e5c (patch)
treefadeb32f8820bfa53a5a37f967bf0d58aafeb82f /arch/arm/mach-omap2/pm.c
parent488c77c961e65894d864af4da720a880a5fbb066 (diff)
parent93b23711b7132400d4d76f31c660d27a2bb0afdb (diff)
Merge tag 'omap-for-v3.9/pm-omap4-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into late/omap
From Tony Lindgren: omap4 pm changes via Paul Walmsley <paul@pwsan.com>: 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/ * tag 'omap-for-v3.9/pm-omap4-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: OMAP4: hwmod data: Enable AESS hwmod device ARM: OMAP4: hwmod data: Update AESS data with memory bank area ARM: OMAP4+: AESS: enable internal auto-gating during initial setup ASoC: TI AESS: add autogating-enable function, callable from architecture code ARM: OMAP2+: hwmod: add enable_preprogram hook ARM: OMAP2+: PM: Fix the dt return condition in pm_late_init() ARM: OMAP4: PM: Warn users about usage of older bootloaders
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 9a9be3c9f208..8d5e6e6b14ad 100644
--- a/arch/arm/mach-omap2/pm.c
+++ b/arch/arm/mach-omap2/pm.c
@@ -282,19 +282,19 @@ int __init omap2_common_pm_late_init(void)
282 * a completely different mechanism. 282 * a completely different mechanism.
283 * Disable this part if a DT blob is available. 283 * Disable this part if a DT blob is available.
284 */ 284 */
285 if (of_have_populated_dt()) 285 if (!of_have_populated_dt()) {
286 return 0;
287 286
288 /* Init the voltage layer */ 287 /* Init the voltage layer */
289 omap_pmic_late_init(); 288 omap_pmic_late_init();
290 omap_voltage_late_init(); 289 omap_voltage_late_init();
291 290
292 /* Initialize the voltages */ 291 /* Initialize the voltages */
293 omap3_init_voltages(); 292 omap3_init_voltages();
294 omap4_init_voltages(); 293 omap4_init_voltages();
295 294
296 /* Smartreflex device init */ 295 /* Smartreflex device init */
297 omap_devinit_smartreflex(); 296 omap_devinit_smartreflex();
297 }
298 298
299#ifdef CONFIG_SUSPEND 299#ifdef CONFIG_SUSPEND
300 suspend_set_ops(&omap_pm_ops); 300 suspend_set_ops(&omap_pm_ops);