aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVAMSHI GAJJELA <[email protected]>2022-07-13 18:47:22 +0530
committerGreg Kroah-Hartman <[email protected]>2022-07-14 16:33:35 +0200
commit4f4e670342b14f302e17c93bd22fc943bbaaf1de (patch)
tree07a47eb7b929e02067f664c4d3ad281bcbaca776 /tools/perf/scripts/python
parent1d46c08d246e2e0a2d81985727392a5a8348d06a (diff)
serial: 8250_dw: Avoid pslverr on reading empty receiver fifo
With PSLVERR_RESP_EN parameter set to 1, the device generates an error response when an attempt to read an empty RBR with FIFO enabled. This happens when LCR writes are ignored when UART is busy. dw8250_check_lcr() in retries to update LCR, invokes dw8250_force_idle() to clear and reset FIFO and eventually reads UART_RX causing the error. Avoid this by not reading RBR/UART_RX when no data is available. Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: VAMSHI GAJJELA <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions