Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364648
b: refs/heads/master
c: 9ab7f79
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent 33a59f5 commit 374d03d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 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: 900b5817d874dd894ca05b2cd8df8acd63dfd64e
refs/heads/master: 9ab7f79923f7ff2af798c42da104a03a936f704d
3 changes: 0 additions & 3 deletions trunk/drivers/usb/gadget/mv_udc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,6 @@ static int mv_udc_start(struct usb_gadget *gadget,
/* hook up the driver ... */
driver->driver.bus = NULL;
udc->driver = driver;
udc->gadget.dev.driver = &driver->driver;

udc->usb_state = USB_STATE_ATTACHED;
udc->ep0_state = WAIT_FOR_SETUP;
Expand All @@ -1367,7 +1366,6 @@ static int mv_udc_start(struct usb_gadget *gadget,
dev_err(&udc->dev->dev,
"unable to register peripheral to otg\n");
udc->driver = NULL;
udc->gadget.dev.driver = NULL;
return retval;
}
}
Expand Down Expand Up @@ -1403,7 +1401,6 @@ static int mv_udc_stop(struct usb_gadget *gadget,
spin_unlock_irqrestore(&udc->lock, flags);

/* unbind gadget driver */
udc->gadget.dev.driver = NULL;
udc->driver = NULL;

return 0;
Expand Down

0 comments on commit 374d03d

Please sign in to comment.