MLK-15031-01 tty: serial: fsl_lpuart: drop the error frame
authorFugang Duan <fugang.duan@nxp.com>
Fri, 26 May 2017 06:09:27 +0000 (14:09 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:13 +0000 (15:28 -0500)
commitd3e568afbc31f39cd4061c31cddaae737896e09d
tree0bcd3262b73c4e5934e3fa6bf022adde475c8a16
parent7ad9a012c66b527e5e0a62aa9b86e2b4f7eff0c5
MLK-15031-01 tty: serial: fsl_lpuart: drop the error frame

Since the driver stats the error frames in port.icount.frame, it can
drop the error frame that no need to push it to the tty buffer.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
drivers/tty/serial/fsl_lpuart.c