mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
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:
parent
d1609c312d
commit
ed5a419bb0
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue