|
@@ -686,8 +686,8 @@ static int ci_hdrc_probe(struct platform_device *pdev)
|
|
|
} else if (ci->platdata->usb_phy) {
|
|
|
ci->usb_phy = ci->platdata->usb_phy;
|
|
|
} else {
|
|
|
- ci->phy = devm_phy_get(dev, "usb-phy");
|
|
|
- ci->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2);
|
|
|
+ ci->phy = devm_phy_get(dev->parent, "usb-phy");
|
|
|
+ ci->usb_phy = devm_usb_get_phy(dev->parent, USB_PHY_TYPE_USB2);
|
|
|
|
|
|
/* if both generic PHY and USB PHY layers aren't enabled */
|
|
|
if (PTR_ERR(ci->phy) == -ENOSYS &&
|