lkml.org 
[lkml]   [2015]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/1] Synopsis 8250 serial port driver fix
Date
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

Changes from v1:
- Changed DT properties from strings to booleans as suggested by Arnd.
Documentation updated accordingly.

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

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

--
1.7.9.5



\
 
 \ /
  Last update: 2015-02-27 01:41    [W:0.046 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site