diff options
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index 1881fe915149..ad4f69394166 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -227,6 +227,14 @@ postcore_initcall(omap2_common_pm_init); | |||
227 | 227 | ||
228 | static int __init omap2_common_pm_late_init(void) | 228 | static int __init omap2_common_pm_late_init(void) |
229 | { | 229 | { |
230 | /* | ||
231 | * In the case of DT, the PMIC and SR initialization will be done using | ||
232 | * a completely different mechanism. | ||
233 | * Disable this part if a DT blob is available. | ||
234 | */ | ||
235 | if (of_have_populated_dt()) | ||
236 | return 0; | ||
237 | |||
230 | /* Init the voltage layer */ | 238 | /* Init the voltage layer */ |
231 | omap_pmic_late_init(); | 239 | omap_pmic_late_init(); |
232 | omap_voltage_late_init(); | 240 | omap_voltage_late_init(); |