aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/tmio_mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index 0d36fa9c629e..1b9fa21c2bdc 100644
--- a/drivers/mmc/host/tmio_mmc.c
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -983,11 +983,11 @@ static void tmio_tasklet_fn(unsigned long arg)
983 983
984 if (host->data->flags & MMC_DATA_READ) 984 if (host->data->flags & MMC_DATA_READ)
985 dma_unmap_sg(host->chan_rx->device->dev, 985 dma_unmap_sg(host->chan_rx->device->dev,
986 host->sg_ptr, host->dma_sglen, 986 host->sg_ptr, host->sg_len,
987 DMA_FROM_DEVICE); 987 DMA_FROM_DEVICE);
988 else 988 else
989 dma_unmap_sg(host->chan_tx->device->dev, 989 dma_unmap_sg(host->chan_tx->device->dev,
990 host->sg_ptr, host->dma_sglen, 990 host->sg_ptr, host->sg_len,
991 DMA_TO_DEVICE); 991 DMA_TO_DEVICE);
992 992
993 tmio_mmc_do_data_irq(host); 993 tmio_mmc_do_data_irq(host);