Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325885
b: refs/heads/master
c: d0d8607
h: refs/heads/master
i:
  325883: 66abf88
v: v3
  • Loading branch information
Alan Stern authored and Felipe Balbi committed Aug 31, 2012
1 parent 6dca015 commit bb8c7da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4846a1807fc6138e2f010d65757feb4b7b0c2cf
refs/heads/master: d0d860758bd350206242962a223858bd01cd8a93
2 changes: 2 additions & 0 deletions trunk/drivers/usb/gadget/dummy_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,7 @@ static int dummy_udc_start(struct usb_gadget *g,
dum->devstatus = 0;

dum->driver = driver;
dum->gadget.dev.driver = &driver->driver;
dev_dbg(udc_dev(dum), "binding gadget driver '%s'\n",
driver->driver.name);
return 0;
Expand All @@ -923,6 +924,7 @@ static int dummy_udc_stop(struct usb_gadget *g,
dev_dbg(udc_dev(dum), "unregister gadget driver '%s'\n",
driver->driver.name);

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

return 0;
Expand Down

0 comments on commit bb8c7da

Please sign in to comment.