Commits
Peng Fan committed 24259ac670f
MLK-16218 tty: serial: fsl_lpuart: use the sg count from dma_map_sg The dmaengine_prep_slave_sg needs to use sg count returned by dma_map_sg, not use sport->dma_tx_nents, because the return value of dma_map_sg is not always same with "nents". When enabling iommu for lpuart + edma, iommu framework may concatenate two sgs into one. Fixes: 6250cc30c4c4e ("tty: serial: fsl_lpuart: Use scatter/gather DMA for Tx") Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>