mirror of https://gitee.com/openkylin/linux.git
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: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Santhapuri, Damodar <damodar.santhapuri@ti.com> Signed-off-by: Ravi Babu <ravibabu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
65145677a6
commit
d8c3ef256f
|
@ -376,8 +376,7 @@ static int dsps_musb_init(struct musb *musb)
|
|||
/* mentor core register starts at offset of 0x400 from musb base */
|
||||
musb->mregs += wrp->musb_core_offset;
|
||||
|
||||
/* NOP driver needs change if supporting dual instance */
|
||||
usb_nop_xceiv_register();
|
||||
/* Get the NOP PHY */
|
||||
musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2);
|
||||
if (IS_ERR_OR_NULL(musb->xceiv))
|
||||
return -ENODEV;
|
||||
|
|
Loading…
Reference in New Issue