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: Peter Chen <peter.chen@nxp.com>
This commit is contained in:
Родитель
d1609c312d
Коммит
ed5a419bb0
|
@ -398,8 +398,9 @@ 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;
|
||||
goto err_clk;
|
||||
data->phy = NULL;
|
||||
else
|
||||
goto err_clk;
|
||||
}
|
||||
|
||||
pdata.usb_phy = data->phy;
|
||||
|
|
Загрузка…
Ссылка в новой задаче