kernel-fxtec-pro1x/drivers/tty/serial/8250
Peter Hurley c09babfab7 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>
2015-02-07 18:44:55 +08:00
..
8250.h
8250_accent.c
8250_acorn.c
8250_boca.c
8250_core.c serial: 8250: Fix UART_BUG_TXEN workaround 2015-02-07 18:44:55 +08:00
8250_dma.c serial: 8250_dma: don't bother DMA with small transfers 2015-02-02 10:11:26 -08:00
8250_dw.c serial: 8250: add support for ACPI-probed serial port for X-Gene platform 2015-01-09 14:16:27 -08:00
8250_early.c tty/serial: 8250_early: Add support for PXA UARTs 2015-02-02 10:11:28 -08:00
8250_em.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
8250_exar_st16c554.c
8250_fintek.c
8250_fourport.c
8250_fsl.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_mtk.c More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
8250_omap.c serial: 8250_omap: Use UPSTAT_AUTORTS for RTS handling 2015-02-02 10:11:28 -08:00
8250_pci.c serial: 8250_pci: remove one useless explicit type conversion 2015-02-02 10:11:25 -08:00
8250_pnp.c serial: 8250_pnp: Enable PNP_CONSOLE for console ports 2015-02-02 10:11:25 -08:00
Kconfig tty: serial: 8250: omap: add ttySx console if the user didn't 2015-01-09 14:10:46 -08:00
Makefile
serial_cs.c