diff options
| -rw-r--r-- | drivers/usb/musb/musb_gadget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 0c36925c5934..e164999bd364 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
| @@ -1731,6 +1731,7 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver) | |||
| 1731 | spin_lock_irqsave(&musb->lock, flags); | 1731 | spin_lock_irqsave(&musb->lock, flags); |
| 1732 | 1732 | ||
| 1733 | otg_set_peripheral(musb->xceiv, &musb->g); | 1733 | otg_set_peripheral(musb->xceiv, &musb->g); |
| 1734 | musb->xceiv->state = OTG_STATE_B_IDLE; | ||
| 1734 | musb->is_active = 1; | 1735 | musb->is_active = 1; |
| 1735 | 1736 | ||
| 1736 | /* FIXME this ignores the softconnect flag. Drivers are | 1737 | /* FIXME this ignores the softconnect flag. Drivers are |
