summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-05-05 20:32:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-13 10:49:49 -0700
commit0cbb8c818c051fc5a9aaa8327954e901f6b8a745 (patch)
tree7a9b8f686a8bc3f4d55b741e995ee68076c13d8c /kernel
parent487bc65d5a0bba6dbc8f07c46734c90b500e4b64 (diff)
downloadlwn-0cbb8c818c051fc5a9aaa8327954e901f6b8a745.tar.gz
lwn-0cbb8c818c051fc5a9aaa8327954e901f6b8a745.zip
USB: io_ti: fix chars_in_buffer overhead
commit b16634adce951a7371be931487034f7365971ed0 upstream. Use the new generic usb-serial wait_until_sent implementation to wait for hardware buffers to drain. This removes the need to check the hardware buffers in chars_in_buffer and thus removes the overhead introduced by commit 263e1f9f ("USB: io_ti: query hardware-buffer status in chars_in_buffer") without breaking tty_wait_until_sent (used by, for example, tcdrain, tcsendbreak and close). Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions