]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: cdc-acm: fix devices not unthrottled on open
authorOtto Meta <otto.patches@sister-shadow.de>
Wed, 6 Jun 2012 16:46:21 +0000 (18:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Jun 2012 18:37:14 +0000 (11:37 -0700)
commit9cc2d461d9ae92fdabd9097fb5ff2977fe59d995
tree118956915dc7ec6f9fd95bb90ec7c5c2fd2c547a
parent9b81405d1683801862cce030aafb062dcbe5c88f
usb: cdc-acm: fix devices not unthrottled on open

commit 6c4707f3f8c44ec18282e1c014c80e1c257042f9 upstream.

Currently CDC-ACM devices stay throttled when their TTY is closed while
throttled, stalling further communication attempts after the next open.

Unthrottling during open/activate got lost starting with kernel
3.0.0 and this patch reintroduces it.

Signed-off-by: Otto Meta <otto.patches@sister-shadow.de>
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c