diff options
Diffstat (limited to 'drivers/mmc/host/sh_mmcif.c')
-rw-r--r-- | drivers/mmc/host/sh_mmcif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c index 369366c8e20..1c0c10bd2d3 100644 --- a/drivers/mmc/host/sh_mmcif.c +++ b/drivers/mmc/host/sh_mmcif.c | |||
@@ -233,7 +233,7 @@ static void sh_mmcif_start_dma_rx(struct sh_mmcif_host *host) | |||
233 | if (ret > 0) { | 233 | if (ret > 0) { |
234 | host->dma_active = true; | 234 | host->dma_active = true; |
235 | desc = chan->device->device_prep_slave_sg(chan, sg, ret, | 235 | desc = chan->device->device_prep_slave_sg(chan, sg, ret, |
236 | DMA_FROM_DEVICE, DMA_PREP_INTERRUPT | DMA_CTRL_ACK); | 236 | DMA_DEV_TO_MEM, DMA_PREP_INTERRUPT | DMA_CTRL_ACK); |
237 | } | 237 | } |
238 | 238 | ||
239 | if (desc) { | 239 | if (desc) { |
@@ -281,7 +281,7 @@ static void sh_mmcif_start_dma_tx(struct sh_mmcif_host *host) | |||
281 | if (ret > 0) { | 281 | if (ret > 0) { |
282 | host->dma_active = true; | 282 | host->dma_active = true; |
283 | desc = chan->device->device_prep_slave_sg(chan, sg, ret, | 283 | desc = chan->device->device_prep_slave_sg(chan, sg, ret, |
284 | DMA_TO_DEVICE, DMA_PREP_INTERRUPT | DMA_CTRL_ACK); | 284 | DMA_MEM_TO_DEV, DMA_PREP_INTERRUPT | DMA_CTRL_ACK); |
285 | } | 285 | } |
286 | 286 | ||
287 | if (desc) { | 287 | if (desc) { |