Skip to content

Commit

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

/* ... then enable host detection and ep0; and we're ready
* for set_configuration as well as eventual disconnect.
Expand Down Expand Up @@ -1510,7 +1509,6 @@ static int net2272_stop(struct usb_gadget *_gadget,
stop_activity(dev, driver);
spin_unlock_irqrestore(&dev->lock, flags);

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

dev_dbg(dev->dev, "unregistered driver '%s'\n", driver->driver.name);
Expand Down

0 comments on commit 0b43f77

Please sign in to comment.