Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364641
b: refs/heads/master
c: a1827ef
h: refs/heads/master
i:
  364639: 8c6eb78
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent 0717b60 commit ee21aec
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: fc2dba950b27e6ec412efb932458cd6abfe77940
refs/heads/master: a1827ef6ac81072e9f2894d0db8cfa956d1b2a8d
3 changes: 0 additions & 3 deletions trunk/drivers/usb/gadget/fsl_udc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1939,7 +1939,6 @@ static int fsl_udc_start(struct usb_gadget *g,
driver->driver.bus = NULL;
/* hook up the driver */
udc_controller->driver = driver;
udc_controller->gadget.dev.driver = &driver->driver;
spin_unlock_irqrestore(&udc_controller->lock, flags);

if (!IS_ERR_OR_NULL(udc_controller->transceiver)) {
Expand All @@ -1955,7 +1954,6 @@ static int fsl_udc_start(struct usb_gadget *g,
if (retval < 0) {
ERR("can't bind to transceiver\n");
driver->unbind(&udc_controller->gadget);
udc_controller->gadget.dev.driver = 0;
udc_controller->driver = 0;
return retval;
}
Expand Down Expand Up @@ -1998,7 +1996,6 @@ static int fsl_udc_stop(struct usb_gadget *g,
nuke(loop_ep, -ESHUTDOWN);
spin_unlock_irqrestore(&udc_controller->lock, flags);

udc_controller->gadget.dev.driver = NULL;
udc_controller->driver = NULL;

return 0;
Expand Down

0 comments on commit ee21aec

Please sign in to comment.