summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/imx.c
diff options
context:
space:
mode:
authorJoshua Scott <joshua.scott@alliedtelesis.co.nz>2018-02-08 22:59:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-28 13:40:22 +0100
commit914eaf935ec78d3a3ce03751b1e0f8395035d94a (patch)
tree753dc7a4933800b87c127c4b908fa7d00cf0f2b4 /drivers/tty/serial/imx.c
parentserial: sh-sci: use hrtimer for receive timeout (diff)
downloadlinux-914eaf935ec78d3a3ce03751b1e0f8395035d94a.tar.xz
linux-914eaf935ec78d3a3ce03751b1e0f8395035d94a.zip
serial: 8250_dw: Allow TX FIFO to drain before writing to UART_LCR
An issue has been observed on the Marvell Armada 38x serial port. Writes to UART_LCR can result in characters that are currently held in the TX FIFO being lost rather than sent, even if the userspace process has attempted to flush them. This is most visible when using the "resize" command (tested on Busybox), where we have observed the escape code for restoring cursor position becoming mangled. Signed-off-by: Joshua Scott <joshua.scott@alliedtelesis.co.nz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/imx.c')
0 files changed, 0 insertions, 0 deletions