Skip to content

Commit

Permalink
tty: serial: fsl_lpuart: Use cyclic DMA for Rx
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
bhuvanchandra authored and gregkh committed Aug 31, 2016
1 parent aa9e7d7 commit 5887ad4
Showing 1 changed file with 258 additions and 225 deletions.
Loading

0 comments on commit 5887ad4

Please sign in to comment.