Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364651
b: refs/heads/master
c: f6511d1
h: refs/heads/master
i:
  364649: 0b43f77
  364647: 33a59f5
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent 507cdca commit 4513970
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: 68abc94f8de89ef885332a101654a0aef2db6d97
refs/heads/master: f6511d153eff9cd16e44ab54faa63149e2ddef75
3 changes: 0 additions & 3 deletions trunk/drivers/usb/gadget/omap_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,6 @@ static int omap_udc_start(struct usb_gadget *g,
/* hook up the driver */
driver->driver.bus = NULL;
udc->driver = driver;
udc->gadget.dev.driver = &driver->driver;
spin_unlock_irqrestore(&udc->lock, flags);

if (udc->dc_clk != NULL)
Expand All @@ -2083,7 +2082,6 @@ static int omap_udc_start(struct usb_gadget *g,
ERR("can't bind to transceiver\n");
if (driver->unbind) {
driver->unbind(&udc->gadget);
udc->gadget.dev.driver = NULL;
udc->driver = NULL;
}
goto done;
Expand Down Expand Up @@ -2129,7 +2127,6 @@ static int omap_udc_stop(struct usb_gadget *g,
udc_quiesce(udc);
spin_unlock_irqrestore(&udc->lock, flags);

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

if (udc->dc_clk != NULL)
Expand Down

0 comments on commit 4513970

Please sign in to comment.