aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorErwan Le Ray <[email protected]>2021-03-04 17:23:06 +0100
committerGreg Kroah-Hartman <[email protected]>2021-03-10 09:34:11 +0100
commit9f77d19207a0e8ba814c8ceb22e90ce7cb2aef64 (patch)
treed2515a7d0aff02332181d872b6db1284637c0b24 /tools/perf/scripts/python/exported-sql-viewer.py
parent315e2d8a125ad77a1bc28f621162713f3e7aef48 (diff)
serial: stm32: add FIFO flush when port is closed
Transmission complete error is sent when ISR_TC is not set. If port closure is requested despite data in TDR / TX FIFO has not been sent (because of flow control), ISR_TC is not set and error message is sent on port closure but also when a new port is opened. Flush the data when port is closed, so the error isn't printed twice upon next port opening. Fixes: 64c32eab6603 ("serial: stm32: Add support of TC bit status check") Signed-off-by: Erwan Le Ray <[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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions