diff options
author | Alan Cox <alan@redhat.com> | 2009-01-02 13:47:06 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-02 10:19:40 -0800 |
commit | eff6937a46e096eb35c16a391617b7a5e098a30c (patch) | |
tree | bc3d6be6f85a61d27af3f86eb0e8b65b9f83f059 /firmware | |
parent | 39aced68d664291db3324d0fcf0985ab5626aac2 (diff) | |
download | linux-eff6937a46e096eb35c16a391617b7a5e098a30c.tar.gz linux-eff6937a46e096eb35c16a391617b7a5e098a30c.tar.bz2 linux-eff6937a46e096eb35c16a391617b7a5e098a30c.zip |
tty: USB tty devices can block in tcdrain when unplugged
The underlying problem is that the device methods don't all correctly
handle disconnected status and some keep reporting bytes pending which
causes tcdrain to stall.
When the cable is unplugged they are definitely gone, and as this is true
for all USB cables we can fix it in the core usb serial code.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions