usb: musb: don't set session in musb_start
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 23 Mar 2013 00:17:13 +0000 (02:17 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 23 Mar 2013 00:17:13 +0000 (02:17 +0200)
OMAP glue already does this, and doing it here too causes unneeded
VBUS toggle when starting without cable.

drivers/usb/musb/musb_core.c

index dd2d742..7245b89 100644 (file)
@@ -944,8 +944,8 @@ void musb_start(struct musb *musb)
                 */
                if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS)
                        musb->is_active = 1;
                 */
                if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS)
                        musb->is_active = 1;
-               else
-                       devctl |= MUSB_DEVCTL_SESSION;
+               //else
+               //      devctl |= MUSB_DEVCTL_SESSION;
 
        } else if (is_host_enabled(musb)) {
                /* assume ID pin is hard-wired to ground */
 
        } else if (is_host_enabled(musb)) {
                /* assume ID pin is hard-wired to ground */