]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3adf7f3034f7b3948d0dc2afd24d4e0338a5c789
treeac30d4c6df6236f77142713a0b7ec091a4e5ae0f
parent7f790792faf9a527256a9fa65b281625e44c5faf
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