OSDN Git Service

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:34:15 +0000 (11:34 -0700)
commit94b71da9193eb95eeef8d09172998c37c2c78327
tree4f20a7e7705e4e5112817779582048a345409597
parent2c1a56c8c620ff93050ee4ef545cc585d2f93034
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