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>
This commit is contained in:
parent
ee1cd515e8
commit
983f3cabf6
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ static int dsps_musb_init(struct musb *musb)
|
||||||
musb->ctrl_base = reg_base;
|
musb->ctrl_base = reg_base;
|
||||||
|
|
||||||
/* NOP driver needs change if supporting dual instance */
|
/* 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))
|
if (IS_ERR(musb->xceiv))
|
||||||
return PTR_ERR(musb->xceiv);
|
return PTR_ERR(musb->xceiv);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue