OMAP: UART: Keep the TX fifo full when possible
authorDmitry Fink <finik@ti.com>
Mon, 8 Jul 2013 10:04:44 +0000 (13:04 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 22:55:44 +0000 (15:55 -0700)
commitc4415084218c68c5ee2fc583431e89a78d896b19
treeac30d4c6df6236f77142713a0b7ec091a4e5ae0f
parentf64ffda60e2c9b69ff2125e90cfca234b2eece2b
OMAP: UART: Keep the TX fifo full when possible

Current logic results in interrupt storm since the fifo
is constantly below the threshold level. Change the logic
to fill all the available spaces in the fifo as long as
we have data to minimize the possibilty of underflow and
elimiate excessive interrupts.

Signed-off-by: Dmitry Fink <finik@ti.com>
Signed-off-by: Alexander Savchenko <oleksandr.savchenko@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c
include/uapi/linux/serial_reg.h