mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 09:04:51 +08:00
Revert "usb: musb: dsps: remove explicit NOP device creation"
This reverts commit d8c3ef256f
.
Above mentioned change was made along with multi usb phy change and
adding DT support for nop transceiver. But other two changes did not
make it to mainline. This in effect makes dsps musb wrapper unusable
even for single instance.
Hence revert it so that at least single instance can be supported.
Cc: stable@vger.kernel.org # v3.7
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
baef653a50
commit
d75542263a
@ -411,7 +411,8 @@ 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;
|
||||
|
||||
/* Get the NOP PHY */
|
||||
/* NOP driver needs change if supporting dual instance */
|
||||
usb_nop_xceiv_register();
|
||||
musb->xceiv = usb_get_phy(USB_PHY_TYPE_USB2);
|
||||
if (IS_ERR_OR_NULL(musb->xceiv))
|
||||
return -ENODEV;
|
||||
|
Loading…
Reference in New Issue
Block a user