serial: imx-serial - update RX error counters when DMA is used
authorNandor Han <nandor.han@ge.com>
Mon, 8 Aug 2016 12:38:28 +0000 (15:38 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 14:27:28 +0000 (16:27 +0200)
commit41d98b5da92f8b7bd11885e7c4797197b5f3e2c3
tree5961dfc0539064183219b8aa37d04f9cf11c3e5e
parent9d297239b8cbf276b1b3bc6cbde5c0dd9ca79a61
serial: imx-serial - update RX error counters when DMA is used

Update error counters when DMA is used for receiving data. Do
this by using DMA transaction error event instead error interrupts
to reduce interrupt load.

Tested-by: Peter Senna Tschudin <peter.senna@collabora.com>
Acked-by: Peter Senna Tschudin <peter.senna@collabora.com>
Signed-off-by: Nandor Han <nandor.han@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c