mxs-auart: count FIFO overrun errors
authorWolfgang Ocker <weo@reccoware.de>
Wed, 16 Nov 2016 11:37:45 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Nov 2016 16:17:42 +0000 (17:17 +0100)
commitb8106454733806b56c87493042da77b3b8b48d22
tree50b9fcab51a94913c1be88623c360dd5e938485b
parent0e0b989eb330f0167c191a5c223be352f348c9c0
mxs-auart: count FIFO overrun errors

The mxs-auart driver does not count FIFO overrun errors. These errors never
appear in /proc/tty/driver/ttyAPP. This is because the OERR status bit is
masked by read_status_mask in the rx interrupt function, but the
AUART_STAT_OERR bit is never set in read_status_mask. The patch enables the
counting of overrun errors.

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c