call omap_sr_enable for mpu_iva voltage domain. Signed-off-by: André Roth <neolynx@xxxxxxxxx> --- arch/arm/mach-omap2/pm.c | 1 + drivers/power/avs/smartreflex.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index ec86f35ae040..073c565193b8 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -251,6 +251,7 @@ int __init omap2_common_pm_late_init(void) omap4_init_voltages(); /* Smartreflex device init */ + omap_enable_smartreflex_on_init(); omap_devinit_smartreflex(); error = omap_pm_soc_init(); diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c index 71ca5e4825b5..13a45e9a37a3 100644 --- a/drivers/power/avs/smartreflex.c +++ b/drivers/power/avs/smartreflex.c @@ -937,6 +937,9 @@ static int omap_sr_probe(struct platform_device *pdev) pm_runtime_put_sync(&pdev->dev); + if (strncmp(sr_info->name, "smartreflex_mpu_iva", sizeof("smartreflex_mpu_iva") - 1) == 0) + omap_sr_enable(sr_info->voltdm); + return ret; err_debugfs: -- 2.17.1