Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0a6104e authored by George Cherian's avatar George Cherian Committed by Felipe Balbi
Browse files

usb: dwc3: dwc3-omap: return PROBE_DEFER if extcon is missing and found in dt



Due to inter dependencies of I2C and extcon by the time dwc3
checks for extcon device its not registered especially in case of J6.
In O5 the vbus regulator save us from getting to this point.
So for tiime being return PROBE_DEFER if extcon is enabled in dt.

Signed-off-by: default avatarGeorge Cherian <george.cherian@ti.com>
parent 2df6761e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -535,7 +535,7 @@ static int dwc3_omap_probe(struct platform_device *pdev)
		edev = of_extcon_get_extcon_dev(dev, 0);
		if (IS_ERR(edev)) {
			dev_vdbg(dev, "couldn't get extcon device\n");
			ret = PTR_ERR(edev);
			ret = -EPROBE_DEFER;
			goto err2;
		}