Re: [PATCH 1/2] tty: serial: fsl_lpuart: correct the count of break characters

From: Michael Walle
Date: Fri Jul 15 2022 - 08:33:55 EST


Am 2022-07-15 04:59, schrieb Sherry Sun:
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")
Signed-off-by: Sherry Sun <sherry.sun@xxxxxxx>

Reviewed-by: Michael Walle <michael@xxxxxxxx>

-michael