[PATCH 0/1] Synopsis 8250 serial port driver fix

From: Jonathan Richardson
Date: Wed Feb 25 2015 - 14:03:07 EST


Hi,

This patchset fixes a bug in the Synopsis 8250 serial driver which causes the
driver to hang. The bug occurs on simple 2 wire serial ports when modem control
signalling has been enabled. It can be reproduced from user space by enabling
modem control signals (stty -clocal), then opening a serial port and polling for
data available to read with a timeout. A properly implemented driver will
ignore the control signals and the call to poll will return. The current
version of the driver hangs forever on the call to poll despite the timeout.

Jon

Desmond Liu (1):
serial: 8250_dw: Fix get_mctrl behaviour

.../bindings/serial/snps-dw-apb-uart.txt | 7 ++++
drivers/tty/serial/8250/8250_dw.c | 41 ++++++++++++++++++++
2 files changed, 48 insertions(+)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/