Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361641
b: refs/heads/master
c: cb25505
h: refs/heads/master
i:
  361639: 623bf36
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Mar 21, 2013
1 parent 7428687 commit 38614a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: c93d81955005c2ac0ea072f88d376026208410e1
refs/heads/master: cb25505fc604292c70fc02143fc102f54c8595f0
3 changes: 2 additions & 1 deletion trunk/drivers/usb/class/cdc-acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,6 @@ static void acm_port_destruct(struct tty_port *port)

dev_dbg(&acm->control->dev, "%s\n", __func__);

tty_unregister_device(acm_tty_driver, acm->minor);
acm_release_minor(acm);
usb_put_intf(acm->control);
kfree(acm->country_codes);
Expand Down Expand Up @@ -1426,6 +1425,8 @@ static void acm_disconnect(struct usb_interface *intf)

stop_data_traffic(acm);

tty_unregister_device(acm_tty_driver, acm->minor);

usb_free_urb(acm->ctrlurb);
for (i = 0; i < ACM_NW; i++)
usb_free_urb(acm->wb[i].urb);
Expand Down

0 comments on commit 38614a1

Please sign in to comment.