Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67913
b: refs/heads/master
c: 437f375
h: refs/heads/master
i:
  67911: f30e0f8
v: v3
  • Loading branch information
Vitaly Bordug authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent 067bfc2 commit f956988
Show file tree
Hide file tree
Showing 2 changed files with 7 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: a59048d46303c4146993c37f51ed97a760fc4c0a
refs/heads/master: 437f375f262417b484f28007c3e8d21bd01d0e01
6 changes: 6 additions & 0 deletions trunk/drivers/usb/gadget/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1470,6 +1470,12 @@ static void /* __init_or_exit */ gs_unbind(struct usb_gadget *gadget)
dev->dev_ctrl_req = NULL;
}
gs_free_ports(dev);
if (dev->dev_notify_ep)
usb_ep_disable(dev->dev_notify_ep);
if (dev->dev_in_ep)
usb_ep_disable(dev->dev_in_ep);
if (dev->dev_out_ep)
usb_ep_disable(dev->dev_out_ep);
kfree(dev);
set_gadget_data(gadget, NULL);
}
Expand Down

0 comments on commit f956988

Please sign in to comment.