commit | 5887ad43ee02a00f17a6132b7fb256dc6865474c | [log] [tgz] |
---|---|---|
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | Tue Jul 19 13:13:07 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 31 15:48:29 2016 +0200 |
tree | aa36ae183f9ca030beb1f1150bca40994388b4c6 | |
parent | aa9e7d78039e34ac0f56b370e21ac719482823ee [diff] |
tty: serial: fsl_lpuart: Use cyclic DMA for Rx The initial approach of DMA implementatin for RX is inefficient due to switching from PIO to DMA, this leads to overruns especially on instances with the smaller FIFO. To address these issues this patch uses a cyclic DMA for receiver path. Some part of the code is borrowed from atmel serial driver. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>