MLK-11344-11: spi: spi-imx: enable dma support for i.mx6dl
authorRobin Gong <b38343@freescale.com>
Thu, 13 Aug 2015 08:39:06 +0000 (16:39 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:26 +0000 (14:47 -0500)
There is official workaound for TKT238285, so remove the limitation
for i.mx6dl.

Signed-off-by: Robin Gong <b38343@freescale.com>
drivers/spi/spi-imx.c

index 7d7085c..cd05851 100644 (file)
@@ -925,10 +925,6 @@ static int spi_imx_sdma_init(struct device *dev, struct spi_imx_data *spi_imx,
 {
        int ret;
 
-       /* use pio mode for i.mx6dl chip TKT238285 */
-       if (of_machine_is_compatible("fsl,imx6dl"))
-               return 0;
-
        spi_imx->wml = spi_imx_get_fifosize(spi_imx) / 2;
 
        /* Prepare for TX DMA: */