serial: imx: count tty buffer overruns
authorManfred Schlaegl <manfred.schlaegl@gmx.at>
Sat, 20 Jun 2015 17:25:35 +0000 (19:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 00:37:53 +0000 (17:37 -0700)
commit9b289932610edff7d0c11228efbf7a6f81361298
treee9442cfa39fc6accebc4d63876cdc6d8c8f5df00
parent8a61f0c70ae65c6b70d13228c3120c73d7425a60
serial: imx: count tty buffer overruns

As can be seen in function uart_insert_char (serial_core) the element
buf_overrun of struct uart_icount is used to count overruns of
tty-buffer.
Added support for counting of overruns in imx driver analogue to
serial_core.

Signed-off-by: Manfred Schlaegl <manfred.schlaegl@gmx.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c