Commit ed5a419b authored by Peter Chen's avatar Peter Chen
Browse files

usb: chipidea: imx: "fsl,usbphy" phandle is not mandatory now



Since the chipidea common code support get the USB PHY phandle from
"phys", the glue layer is not mandatory to get the "fsl,usbphy" phandle
any more.

Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent d1609c31
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -398,7 +398,8 @@ static int ci_hdrc_imx_probe(struct platform_device *pdev)
		ret = PTR_ERR(data->phy);
		/* Return -EINVAL if no usbphy is available */
		if (ret == -ENODEV)
			ret = -EINVAL;
			data->phy = NULL;
		else
			goto err_clk;
	}