diff options
author | Seth Bollinger <sethb@digi.com> | 2014-03-25 12:55:37 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 14:17:43 -0700 |
commit | 717f3bbab3c7628736ef738fdbf3d9a28578c26c (patch) | |
tree | 3cacb3b09404f9717efe37ba43267655d9a3809b /tools | |
parent | 4ea8dafd2475e26b3cee3836bc6e6fddbdfb2721 (diff) | |
download | linux-717f3bbab3c7628736ef738fdbf3d9a28578c26c.tar.gz linux-717f3bbab3c7628736ef738fdbf3d9a28578c26c.tar.bz2 linux-717f3bbab3c7628736ef738fdbf3d9a28578c26c.zip |
serial_core: Fix conditional start_tx on ring buffer not empty
If the serial_core ring buffer empties just as the tty layer receives
an XOFF, then start_tx will never be called when the tty layer
receives an XON as the serial_core ring buffer is empty. This will
possibly leave a few bytes trapped in the fifo for drivers that
disable the transmitter when flow controlled.
Signed-off-by: Seth Bollinger <sethb@digi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions