Commit d8c3ef25 authored by Ajay Kumar Gupta's avatar Ajay Kumar Gupta Committed by Felipe Balbi

usb: musb: dsps: remove explicit NOP device creation

As NOP device node is now added in am33xx tree so remove the call
which creates the NOP platform_device.
Signed-off-by: default avatarAjay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: default avatarSanthapuri, Damodar <damodar.santhapuri@ti.com>
Signed-off-by: default avatarRavi Babu <ravibabu@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 65145677
...@@ -376,8 +376,7 @@ static int dsps_musb_init(struct musb *musb) ...@@ -376,8 +376,7 @@ static int dsps_musb_init(struct musb *musb)
/* mentor core register starts at offset of 0x400 from musb base */ /* mentor core register starts at offset of 0x400 from musb base */
musb->mregs += wrp->musb_core_offset; musb->mregs += wrp->musb_core_offset;
/* NOP driver needs change if supporting dual instance */ /* Get the NOP PHY */
usb_nop_xceiv_register();
musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2); musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2);
if (IS_ERR_OR_NULL(musb->xceiv)) if (IS_ERR_OR_NULL(musb->xceiv))
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment