aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-02-02 15:47:07 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-07 18:44:55 +0800
commitc09babfab7ae8c7d79a5dce9d866fbb28b82dde4 (patch)
treebe18492341b211fc4a1d64aaf8fb5add99e78426 /Documentation
parentserial: driver for ETRAX FS UART (diff)
downloadlinux-dev-c09babfab7ae8c7d79a5dce9d866fbb28b82dde4.tar.xz
linux-dev-c09babfab7ae8c7d79a5dce9d866fbb28b82dde4.zip
serial: 8250: Fix UART_BUG_TXEN workaround
UARTs which do not trigger THRE interrupt if the fifo is already empty when the interrupt is enabled need tx primed manually. These UARTs are identified by the UART_BUG_TXEN flag to enable the required workaround. However, the current workaround is broken; if the fifo is already empty but the shifter is still transmitting, then serial8250_tx_chars() will not be called but no further THRE interrupt will occur, and tx will stall. The appropriate check is for fifo empty (THRE), not transmitter empty (TEMT). Signed-off-by: Dick Hollenbeck <dick@softplc.com> [pjh: rewrote commit log] Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions