MLK-14616 tty: serial: fsl_lpuart: remove the dev.coherent_dma_mask zero setting
authorAndy Duan <fugang.duan@nxp.com>
Thu, 30 Mar 2017 08:53:27 +0000 (16:53 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:47 +0000 (15:21 -0500)
commitd0ce41af0cd66b8e43be9cd4826d073520766476
tree3818da571bcfb06f053329f519f054346679317d
parentd131c35ff87cc5201faeaabc6e0f6b2fb7d2f2c0
MLK-14616 tty: serial: fsl_lpuart: remove the dev.coherent_dma_mask zero setting

By default, .of_dma_configure() init dev.coherent_dma_mask to BIT(32) that
match the eDMA address range. If re-init dev.coherent_dma_mask to zero, then
streaming dma mapping will go swiotlb dma_map, if swiotlb is not initalized
then it causes mapping failed.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
drivers/tty/serial/fsl_lpuart.c