summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-10-05 13:27:50 (GMT)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-10-05 18:39:21 (GMT)
commit5e7184ae0dd49456387e8b1cdebc6b2c92fc6d51 (patch)
tree38e6405622d4b7ca688e15b5975cd978be1b152c /drivers/mmc
parentca55f46e13dd07b029b0a3d64637f983a6627b23 (diff)
downloadlinux-5e7184ae0dd49456387e8b1cdebc6b2c92fc6d51.tar.xz
atmel-mci: Add missing flush_dcache_page() in PIO transfer code
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/atmel-mci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index 02529af..7a3f243 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -1253,6 +1253,7 @@ static void atmci_read_data_pio(struct atmel_mci *host)
nbytes += 4;
if (offset == sg->length) {
+ flush_dcache_page(sg_page(sg));
host->sg = sg = sg_next(sg);
if (!sg)
goto done;