diff options
author | Oliver Barta <[email protected]> | 2019-06-19 10:16:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-06-21 11:07:34 +0200 |
commit | 3f2640ed7be838c3f05c0d2b0f7c7508e7431e48 (patch) | |
tree | 9630fa6628ec325530a9395e4dd5ee60d26e7330 /tools/perf/scripts/python/syscall-counts.py | |
parent | 4a96895f74c9633b51427fd080ab70fa62b65bc4 (diff) |
Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
This reverts commit 2e9fe539108320820016f78ca7704a7342788380.
Reading LSR unconditionally but processing the error flags only if
UART_IIR_RDI bit was set before in IIR may lead to a loss of transmission
error information on UARTs where the transmission error flags are cleared
by a read of LSR. Information are lost in case an error is detected right
before the read of LSR while processing e.g. an UART_IIR_THRI interrupt.
Signed-off-by: Oliver Barta <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Fixes: 2e9fe5391083 ("serial: 8250: Don't service RX FIFO if interrupts are disabled")
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions