summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_dsps.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-03-11 16:18:40 +0100
committerFelipe Balbi <balbi@ti.com>2015-03-11 16:19:34 +0100
commit983f3cabf6677340dd5b9aec5440b427b8c47ad9 (patch)
treecad3aa9360d280dc225b68b790d400469bbc1ddf /drivers/usb/musb/musb_dsps.c
parentusb: gadget: printer: add configfs support (diff)
downloadlinux-983f3cabf6677340dd5b9aec5440b427b8c47ad9.tar.xz
linux-983f3cabf6677340dd5b9aec5440b427b8c47ad9.zip
usb: musb: dsps: request phy using our device pointer
musb shouldn't have of_node and phy phandle is passed to dsps device, not musb's. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_dsps.c')
-rw-r--r--drivers/usb/musb/musb_dsps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index baa757ba1353..a528d3be70c5 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -432,7 +432,7 @@ static int dsps_musb_init(struct musb *musb)
musb->ctrl_base = reg_base;
/* NOP driver needs change if supporting dual instance */
- musb->xceiv = devm_usb_get_phy_by_phandle(dev, "phys", 0);
+ musb->xceiv = devm_usb_get_phy_by_phandle(dev->parent, "phys", 0);
if (IS_ERR(musb->xceiv))
return PTR_ERR(musb->xceiv);