diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index de1e4a84aa93..068e0c6acc3f 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c | |||
@@ -686,8 +686,8 @@ static int ci_hdrc_probe(struct platform_device *pdev) | |||
686 | } else if (ci->platdata->usb_phy) { | 686 | } else if (ci->platdata->usb_phy) { |
687 | ci->usb_phy = ci->platdata->usb_phy; | 687 | ci->usb_phy = ci->platdata->usb_phy; |
688 | } else { | 688 | } else { |
689 | ci->phy = devm_phy_get(dev, "usb-phy"); | 689 | ci->phy = devm_phy_get(dev->parent, "usb-phy"); |
690 | ci->usb_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); | 690 | ci->usb_phy = devm_usb_get_phy(dev->parent, USB_PHY_TYPE_USB2); |
691 | 691 | ||
692 | /* if both generic PHY and USB PHY layers aren't enabled */ | 692 | /* if both generic PHY and USB PHY layers aren't enabled */ |
693 | if (PTR_ERR(ci->phy) == -ENOSYS && | 693 | if (PTR_ERR(ci->phy) == -ENOSYS && |