diff options
author | 2022-07-25 13:01:15 +0800 | |
---|---|---|
committer | 2022-07-28 10:35:32 +0200 | |
commit | 707f816f25590c20e056b3bd4a17ce69b03fe856 (patch) | |
tree | a7c487235c727a0db134f7ca84d51d8ef09528d7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: stm32: make info structs static to avoid sparse warnings (diff) | |
download | linux-dev-707f816f25590c20e056b3bd4a17ce69b03fe856.tar.xz linux-dev-707f816f25590c20e056b3bd4a17ce69b03fe856.zip |
tty: serial: fsl_lpuart: correct the count of break characters
The LPUART can't distinguish between a break signal and a framing error,
so need to count the break characters if there is a framing error and
received data is zero instead of the parity error.
Fixes: 5541a9bacfe5 ("serial: fsl_lpuart: handle break and make sysrq work")
Reviewed-by: Michael Walle <michael@walle.cc>
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20220725050115.12396-1-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions