aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/mxs-mmc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
index 0a878b18134..94d7358187f 100644
--- a/drivers/mmc/host/mxs-mmc.c
+++ b/drivers/mmc/host/mxs-mmc.c
@@ -357,6 +357,7 @@ static void mxs_mmc_bc(struct mxs_mmc_host *host)
357 host->ssp_pio_words[1] = cmd0; 357 host->ssp_pio_words[1] = cmd0;
358 host->ssp_pio_words[2] = cmd1; 358 host->ssp_pio_words[2] = cmd1;
359 host->dma_dir = DMA_NONE; 359 host->dma_dir = DMA_NONE;
360 host->slave_dirn = DMA_TRANS_NONE;
360 desc = mxs_mmc_prep_dma(host, 0); 361 desc = mxs_mmc_prep_dma(host, 0);
361 if (!desc) 362 if (!desc)
362 goto out; 363 goto out;
@@ -396,6 +397,7 @@ static void mxs_mmc_ac(struct mxs_mmc_host *host)
396 host->ssp_pio_words[1] = cmd0; 397 host->ssp_pio_words[1] = cmd0;
397 host->ssp_pio_words[2] = cmd1; 398 host->ssp_pio_words[2] = cmd1;
398 host->dma_dir = DMA_NONE; 399 host->dma_dir = DMA_NONE;
400 host->slave_dirn = DMA_TRANS_NONE;
399 desc = mxs_mmc_prep_dma(host, 0); 401 desc = mxs_mmc_prep_dma(host, 0);
400 if (!desc) 402 if (!desc)
401 goto out; 403 goto out;
@@ -514,6 +516,7 @@ static void mxs_mmc_adtc(struct mxs_mmc_host *host)
514 host->ssp_pio_words[1] = cmd0; 516 host->ssp_pio_words[1] = cmd0;
515 host->ssp_pio_words[2] = cmd1; 517 host->ssp_pio_words[2] = cmd1;
516 host->dma_dir = DMA_NONE; 518 host->dma_dir = DMA_NONE;
519 host->slave_dirn = DMA_TRANS_NONE;
517 desc = mxs_mmc_prep_dma(host, 0); 520 desc = mxs_mmc_prep_dma(host, 0);
518 if (!desc) 521 if (!desc)
519 goto out; 522 goto out;