]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ti_usb_3410_5052: query hardware-buffer status in chars_in_buffer
authorJohan Hovold <jhovold@gmail.com>
Thu, 18 Apr 2013 15:33:21 +0000 (17:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Apr 2013 17:24:13 +0000 (10:24 -0700)
commit3a2fd790986b589b51e5742d2e73678b0a666185
treef596c0810ab88d2c468140931e806bca40c3f067
parente2dd6c7d0957b6337a3c083ffc1700cf9200b723
USB: ti_usb_3410_5052: query hardware-buffer status in chars_in_buffer

Query hardware-buffer status in chars_in_buffer should the write fifo be
empty.

This is needed to make the tty layer wait for hardware buffers to drain
on close.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ti_usb_3410_5052.c