commit | d22f8f10683c8c0f2675d9fd411a06facaf07c1b | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sun Jan 10 14:39:32 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jan 28 14:07:04 2016 -0800 |
tree | 004906b39e6a6c15605246b0687a835945691ab8 | |
parent | 3f6b3ce071d3a3632c82b53077d21f5beab3a4aa [diff] |
serial: 8250: Fix lost rx state When max_count is reached, the rx loop exits. However, UART_LSR has already been read so those char flags are lost, and subsequent rx status will be for the wrong byte until the rx fifo drains. Reported-by: George Spelvin <linux@horizon.com> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>