diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-05-05 18:32:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-17 00:32:22 (GMT) |
commit | ff93b19eed0d5c124ee7168650a8e2e120ac8ea4 (patch) | |
tree | 57151bdd9f8a28509f2feac7ac3755833395c1e5 /net/lapb/lapb_subr.c | |
parent | b16634adce951a7371be931487034f7365971ed0 (diff) | |
download | linux-fsl-qoriq-ff93b19eed0d5c124ee7168650a8e2e120ac8ea4.tar.xz |
USB: ti_usb_3410_5052: fix chars_in_buffer overhead
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 2c992cd73 ("USB:
ti_usb_3410_5052: 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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions