aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2016-01-10 14:39:32 -0800
committerGreg Kroah-Hartman <[email protected]>2016-01-28 14:07:04 -0800
commitd22f8f10683c8c0f2675d9fd411a06facaf07c1b (patch)
tree004906b39e6a6c15605246b0687a835945691ab8 /lib/test-string_helpers.c
parent3f6b3ce071d3a3632c82b53077d21f5beab3a4aa (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 <[email protected]> Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions