aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/atmel-mci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 7a3f2436b011..6c11f4d4c4e9 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -593,10 +593,8 @@ atmci_submit_data_dma(struct atmel_mci *host, struct mmc_data *data)
593 593
594 /* If we don't have a channel, we can't do DMA */ 594 /* If we don't have a channel, we can't do DMA */
595 chan = host->dma.chan; 595 chan = host->dma.chan;
596 if (chan) { 596 if (chan)
597 dma_chan_get(chan);
598 host->data_chan = chan; 597 host->data_chan = chan;
599 }
600 598
601 if (!chan) 599 if (!chan)
602 return -ENODEV; 600 return -ENODEV;