|
@@ -823,6 +823,10 @@ static int spi_imx_sdma_init(struct device *dev, struct spi_imx_data *spi_imx,
|
|
|
struct dma_slave_config slave_config = {};
|
|
struct dma_slave_config slave_config = {};
|
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
|
|
|
|
+ /* use pio mode for i.mx6dl chip TKT238285 */
|
|
|
|
|
+ if (of_machine_is_compatible("fsl,imx6dl"))
|
|
|
|
|
+ return 0;
|
|
|
|
|
+
|
|
|
/* Prepare for TX DMA: */
|
|
/* Prepare for TX DMA: */
|
|
|
master->dma_tx = dma_request_slave_channel(dev, "tx");
|
|
master->dma_tx = dma_request_slave_channel(dev, "tx");
|
|
|
if (!master->dma_tx) {
|
|
if (!master->dma_tx) {
|