Revert "usb: musb: dsps: remove explicit NOP device creation"
authorAfzal Mohammed <afzal@ti.com>
Tue, 6 Nov 2012 15:17:24 +0000 (20:47 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Nov 2012 06:01:54 +0000 (08:01 +0200)
This reverts commit d8c3ef256f88b7c6ecd673d03073b5645be9c5e4.

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>
drivers/usb/musb/musb_dsps.c

index 6053af1f57c12cc1e95bc774a1dcbf45c2d24d58..e770f7984b5f3dd0b2baabb649df96c7bdd229f9 100644 (file)
@@ -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;
This page took 0.028406 seconds and 5 git commands to generate.