]> git.baikalelectronics.ru Git - kernel.git/commit
serial: mxs-auart: set the FIFO size to DMA buffer size
authorHector Palacios <hector.palacios@digi.com>
Thu, 3 Oct 2013 07:32:03 +0000 (09:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Oct 2013 01:03:01 +0000 (18:03 -0700)
commit4bdc3a81c74852b895f1abdef77c132af78d13f7
tree0b460cf2eabac905945cd3609799bd8177569a36
parent614489e56cbb5dbfb411f1cc1676d58a2ec45a8f
serial: mxs-auart: set the FIFO size to DMA buffer size

When DMA is enabled (with hardware flow control enabled) the FIFO size
must be set to the size of the DMA buffer, as this is the size the tty
subsystem can use.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c