Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242193
b: refs/heads/master
c: 5f1e8ce
h: refs/heads/master
i:
  242191: 3053d78
v: v3
  • Loading branch information
Hema HK authored and Greg Kroah-Hartman committed Mar 23, 2011
1 parent f6d9ec5 commit b4a3881
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5a3b3d985493c173925907adfebf3edab236fe7
refs/heads/master: 5f1e8ce75c19b0433aba6e0ea28937f1ee5d849e
8 changes: 4 additions & 4 deletions trunk/drivers/usb/musb/musb_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1880,12 +1880,12 @@ int usb_gadget_probe_driver(struct usb_gadget_driver *driver,
if (retval < 0) {
DBG(1, "add_hcd failed, %d\n", retval);
goto err2;

if ((musb->xceiv->last_event == USB_EVENT_ID)
&& musb->xceiv->set_vbus)
otg_set_vbus(musb->xceiv, 1);
}

if ((musb->xceiv->last_event == USB_EVENT_ID)
&& musb->xceiv->set_vbus)
otg_set_vbus(musb->xceiv, 1);

hcd->self.uses_pio_for_control = 1;

if (musb->xceiv->last_event == USB_EVENT_NONE)
Expand Down

0 comments on commit b4a3881

Please sign in to comment.