Loading drivers/bus/ti-sysc.c +2 −4 Original line number Diff line number Diff line Loading @@ -3111,9 +3111,8 @@ static int sysc_probe(struct platform_device *pdev) goto unprepare; pm_runtime_enable(ddata->dev); error = pm_runtime_get_sync(ddata->dev); error = pm_runtime_resume_and_get(ddata->dev); if (error < 0) { pm_runtime_put_noidle(ddata->dev); pm_runtime_disable(ddata->dev); goto unprepare; } Loading Loading @@ -3171,9 +3170,8 @@ static int sysc_remove(struct platform_device *pdev) cancel_delayed_work_sync(&ddata->idle_work); error = pm_runtime_get_sync(ddata->dev); error = pm_runtime_resume_and_get(ddata->dev); if (error < 0) { pm_runtime_put_noidle(ddata->dev); pm_runtime_disable(ddata->dev); goto unprepare; } Loading Loading
drivers/bus/ti-sysc.c +2 −4 Original line number Diff line number Diff line Loading @@ -3111,9 +3111,8 @@ static int sysc_probe(struct platform_device *pdev) goto unprepare; pm_runtime_enable(ddata->dev); error = pm_runtime_get_sync(ddata->dev); error = pm_runtime_resume_and_get(ddata->dev); if (error < 0) { pm_runtime_put_noidle(ddata->dev); pm_runtime_disable(ddata->dev); goto unprepare; } Loading Loading @@ -3171,9 +3170,8 @@ static int sysc_remove(struct platform_device *pdev) cancel_delayed_work_sync(&ddata->idle_work); error = pm_runtime_get_sync(ddata->dev); error = pm_runtime_resume_and_get(ddata->dev); if (error < 0) { pm_runtime_put_noidle(ddata->dev); pm_runtime_disable(ddata->dev); goto unprepare; } Loading