tty: serial: fsl_lpuart: remove the dev.coherent_dma_mask zero setting
authorFugang Duan <fugang.duan@nxp.com>
Wed, 17 Jul 2019 05:19:26 +0000 (13:19 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Sep 2019 10:43:44 +0000 (12:43 +0200)
commit38eb523461dc89543070ef41512ea134bba07284
tree4d449b01e4dc4e2434c4418edf8efcdafbf0155b
parentdf60a8af8420cb440a2456e7b3ec02446f1e2e74
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>
Link: https://lore.kernel.org/r/20190717051930.15514-2-fugang.duan@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c