tty/serial: at91: correct buffer size used in DMA
authorLeilei Zhao <leilei.zhao@atmel.com>
Fri, 27 Feb 2015 08:07:15 +0000 (16:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:51:47 +0000 (03:51 +0100)
commita510880f6ea00ee28f22ec61a3c53357bb1bbaa5
tree50f54a593b892efbd1e5ad5496f73f21ab80d7eb
parent2c2770541040318fa6ac0ac4424d8af6dd0709bf
tty/serial: at91: correct buffer size used in DMA

The buffer size set in DMA is inconsistent with its allocation.
So keep them consistent here. The structure atmel_uart_char is
used in PIO mode with its meaning. But here in DMA, all of the
buffer is treated as general char.

Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c