Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310920
b: refs/heads/master
c: 6c4707f
h: refs/heads/master
v: v3
  • Loading branch information
Otto Meta authored and Greg Kroah-Hartman committed Jun 15, 2012
1 parent dfcf3d8 commit 364d70c
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 354ab8567ae3107a8cbe7228c3181990ba598aac
refs/heads/master: 6c4707f3f8c44ec18282e1c014c80e1c257042f9
8 changes: 8 additions & 0 deletions trunk/drivers/usb/class/cdc-acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,14 @@ static int acm_port_activate(struct tty_port *port, struct tty_struct *tty)

usb_autopm_put_interface(acm->control);

/*
* Unthrottle device in case the TTY was closed while throttled.
*/
spin_lock_irq(&acm->read_lock);
acm->throttled = 0;
acm->throttle_req = 0;
spin_unlock_irq(&acm->read_lock);

if (acm_submit_read_urbs(acm, GFP_KERNEL))
goto error_submit_read_urbs;

Expand Down

0 comments on commit 364d70c

Please sign in to comment.