We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45dac13 commit 4164843Copy full SHA for 4164843
drivers/gpu/drm/msm/hdmi/hdmi.c
@@ -532,11 +532,19 @@ static int msm_hdmi_dev_probe(struct platform_device *pdev)
532
533
ret = devm_pm_runtime_enable(&pdev->dev);
534
if (ret)
535
- return ret;
+ goto err_put_phy;
536
537
platform_set_drvdata(pdev, hdmi);
538
539
- return component_add(&pdev->dev, &msm_hdmi_ops);
+ ret = component_add(&pdev->dev, &msm_hdmi_ops);
540
+ if (ret)
541
542
+
543
+ return 0;
544
545
+err_put_phy:
546
+ msm_hdmi_put_phy(hdmi);
547
+ return ret;
548
}
549
550
static int msm_hdmi_dev_remove(struct platform_device *pdev)
0 commit comments