]> git.baikalelectronics.ru Git - kernel.git/commit
USB: io_ti: query hardware-buffer status in chars_in_buffer
authorJohan Hovold <jhovold@gmail.com>
Mon, 14 Jan 2013 15:52:57 +0000 (16:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 23:45:17 +0000 (15:45 -0800)
commit534b0ba9bb96d7827172c764e86c6dfa1b2b6b67
tree07eccb56a78f378488625a69c7957b75e01e2f79
parentf070db26de1663ee7557acc0d6cea7bc5c43672c
USB: io_ti: 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/io_ti.c