Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119482
b: refs/heads/master
c: 1f15a50
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Greg Kroah-Hartman committed Dec 1, 2008
1 parent 56bb34f commit 1f25b5b
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 9ac36da3f8bc646a628bd09326e090defc8b7940
refs/heads/master: 1f15a506f356aa21c29b6a7b0e9e826695273dfc
3 changes: 3 additions & 0 deletions trunk/drivers/usb/gadget/fsl_usb2_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1836,6 +1836,9 @@ int usb_gadget_unregister_driver(struct usb_gadget_driver *driver)
nuke(loop_ep, -ESHUTDOWN);
spin_unlock_irqrestore(&udc_controller->lock, flags);

/* report disconnect; the controller is already quiesced */
driver->disconnect(&udc_controller->gadget);

/* unbind gadget and unhook driver. */
driver->unbind(&udc_controller->gadget);
udc_controller->gadget.dev.driver = NULL;
Expand Down

0 comments on commit 1f25b5b

Please sign in to comment.