diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-09-02 17:39:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-08 16:21:35 -0700 |
commit | 5e42e9a30cdaae51411a9fd4d7de1dc6a7507038 (patch) | |
tree | c1c2b1cdfe98015e0f656e021a245e7d101c7da9 /drivers/tty/n_tracesink.h | |
parent | 99abf3b9242fbc5fec586223a5068544e0e9d90f (diff) | |
download | blackbird-op-linux-5e42e9a30cdaae51411a9fd4d7de1dc6a7507038.tar.gz blackbird-op-linux-5e42e9a30cdaae51411a9fd4d7de1dc6a7507038.zip |
serial: imx: Fix x_char handling and tx flow control
The serial core expects the UART driver to transmit x_char
(START/STOP chars) even if tx is stopped and before data already
in the tx ring buffer if possible. Also, sending x_char must
not cause additional data in the tx ring buffer to transmit
if tx is stopped.
Cause x_char to be transmitted before any other data is sent.
Auto-stop tx if the tx ring buffer is empty or tx should be stopped.
Only perform one write wakeup if tx ring buffer space is below
threshold.
x_char handling in DMA mode is still broken; add FIXME.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tracesink.h')
0 files changed, 0 insertions, 0 deletions