[PATCH v2 7/9] tty: serial: fsl-lpuart: Use scatter/gather DMA for Tx

2016-06-28 Thread Bhuvanchandra DV
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 --- drivers/tty/serial/fsl_lpuart.c | 257 ++-- 1

[PATCH v2 7/9] tty: serial: fsl-lpuart: Use scatter/gather DMA for Tx

2016-06-28 Thread Bhuvanchandra DV
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 --- drivers/tty/serial/fsl_lpuart.c | 257 ++-- 1 file changed, 113