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)
commit9987f76ad286887978803ece6cdcf34582279a29
tree0b460cf2eabac905945cd3609799bd8177569a36
parent7ea816a0c353b668688ee6c79f5bbc5223d73f41
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