tty/serial: at91: maxburst was missing for dma transfers
authorLudovic Desroches <ludovic.desroches@atmel.com>
Thu, 16 Apr 2015 14:58:12 +0000 (16:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Apr 2015 12:27:38 +0000 (14:27 +0200)
commita8d4e01637902311c5643b69a5c80e2805f04054
tree4b3dc957ec98a3d4b93c7d0474a15c30c6e38d9e
parent6befa9d883385c580369a2cc9e53fbf329771f6d
tty/serial: at91: maxburst was missing for dma transfers

Maxburst was not set when doing the dma slave configuration. This value
is checked by the recently introduced xdmac. It causes an error when
doing the slave configuration and so prevents from using dma.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: <stable@vger.kernel.org> # 3.12 and later
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c