Loading drivers/usb/dwc3/dwc3-msm.c +6 −1 Original line number Diff line number Diff line Loading @@ -3185,9 +3185,14 @@ static int dwc3_msm_probe(struct platform_device *pdev) } dwc = platform_get_drvdata(mdwc->dwc3); if (!dwc) { dev_err(&pdev->dev, "Failed to get dwc3 device\n"); goto put_dwc3; } dwc->vbus_active = of_property_read_bool(node, "qcom,vbus-present"); if (dwc && dwc->dotg) if (dwc->dotg) mdwc->otg_xceiv = dwc->dotg->otg.phy; /* Register with OTG if present */ if (mdwc->otg_xceiv) { Loading Loading
drivers/usb/dwc3/dwc3-msm.c +6 −1 Original line number Diff line number Diff line Loading @@ -3185,9 +3185,14 @@ static int dwc3_msm_probe(struct platform_device *pdev) } dwc = platform_get_drvdata(mdwc->dwc3); if (!dwc) { dev_err(&pdev->dev, "Failed to get dwc3 device\n"); goto put_dwc3; } dwc->vbus_active = of_property_read_bool(node, "qcom,vbus-present"); if (dwc && dwc->dotg) if (dwc->dotg) mdwc->otg_xceiv = dwc->dotg->otg.phy; /* Register with OTG if present */ if (mdwc->otg_xceiv) { Loading