diff options
author | Johan Hovold | 2019-04-25 18:05:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-04-29 16:14:41 +0200 |
commit | 0f02321e4bd1b17eb957e077e868ef1611f5dbbd (patch) | |
tree | a4231114463fce1f3822a289fbd339b0520825ce /drivers/usb/phy | |
parent | USB: cdc-acm: fix unthrottle races (diff) | |
download | kernel-qcow2-linux-0f02321e4bd1b17eb957e077e868ef1611f5dbbd.tar.gz kernel-qcow2-linux-0f02321e4bd1b17eb957e077e868ef1611f5dbbd.tar.xz kernel-qcow2-linux-0f02321e4bd1b17eb957e077e868ef1611f5dbbd.zip |
USB: cdc-acm: clean up throttle handling
Clean up the throttle implementation by dropping the redundant
throttle_req flag which was a remnant from back when USB serial had only
a single read URB, something which was later carried over to cdc-acm.
Also convert the throttled flag to an atomic bit flag.
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy')
0 files changed, 0 insertions, 0 deletions