Skip to content

Commit 210ee63

Browse files
committed
Merge tag 'phy-fixes3-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy
Pull phy fixes from Vinod Koul: - fixes for Qualcomm qmp-combo driver for ordering of drm and type-c switch registartion due to drivers might not probe defer after having registered child devices to avoid triggering a probe deferral loop. This fixes internal display on Lenovo ThinkPad X13s * tag 'phy-fixes3-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy: phy: qcom-qmp-combo: fix type-c switch registration phy: qcom-qmp-combo: fix drm bridge registration
2 parents 137e0ec + 47b412c commit 210ee63

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

drivers/phy/qualcomm/phy-qcom-qmp-combo.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3562,14 +3562,6 @@ static int qmp_combo_probe(struct platform_device *pdev)
35623562
if (ret)
35633563
return ret;
35643564

3565-
ret = qmp_combo_typec_switch_register(qmp);
3566-
if (ret)
3567-
return ret;
3568-
3569-
ret = drm_aux_bridge_register(dev);
3570-
if (ret)
3571-
return ret;
3572-
35733565
/* Check for legacy binding with child nodes. */
35743566
usb_np = of_get_child_by_name(dev->of_node, "usb3-phy");
35753567
if (usb_np) {
@@ -3589,6 +3581,14 @@ static int qmp_combo_probe(struct platform_device *pdev)
35893581
if (ret)
35903582
goto err_node_put;
35913583

3584+
ret = qmp_combo_typec_switch_register(qmp);
3585+
if (ret)
3586+
goto err_node_put;
3587+
3588+
ret = drm_aux_bridge_register(dev);
3589+
if (ret)
3590+
goto err_node_put;
3591+
35923592
pm_runtime_set_active(dev);
35933593
ret = devm_pm_runtime_enable(dev);
35943594
if (ret)

0 commit comments

Comments
 (0)