tty: serial: fsl_lpuart: Use scatter/gather DMA for Tx
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Tue, 19 Jul 2016 07:43:08 +0000 (13:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:48:29 +0000 (15:48 +0200)
commit6250cc30c4c4e25393ba247f71bdc04b6af3191b
tree66d344f211f3acc7e9506f244ad5fb0ce10edd0e
parent5887ad43ee02a00f17a6132b7fb256dc6865474c
tty: serial: fsl_lpuart: Use scatter/gather DMA for Tx

Drop PIO to DMA switching and use scatter/gather DMA for Tx path to improve
performance.

Some part of the code is borrowed from imx serial driver.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c