diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/msm_sdcc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 153ab977a01..67b08819556 100644 --- a/drivers/mmc/host/msm_sdcc.c +++ b/drivers/mmc/host/msm_sdcc.c | |||
@@ -266,14 +266,6 @@ msmsdcc_dma_complete_tlet(unsigned long data) | |||
266 | dma_unmap_sg(mmc_dev(host->mmc), host->dma.sg, host->dma.num_ents, | 266 | dma_unmap_sg(mmc_dev(host->mmc), host->dma.sg, host->dma.num_ents, |
267 | host->dma.dir); | 267 | host->dma.dir); |
268 | 268 | ||
269 | if (host->curr.user_pages) { | ||
270 | struct scatterlist *sg = host->dma.sg; | ||
271 | int i; | ||
272 | |||
273 | for (i = 0; i < host->dma.num_ents; i++) | ||
274 | flush_dcache_page(sg_page(sg++)); | ||
275 | } | ||
276 | |||
277 | host->dma.sg = NULL; | 269 | host->dma.sg = NULL; |
278 | host->dma.busy = 0; | 270 | host->dma.busy = 0; |
279 | 271 | ||