aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-10-05 09:27:50 -0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-10-05 14:39:21 -0400
commit5e7184ae0dd49456387e8b1cdebc6b2c92fc6d51 (patch)
tree38e6405622d4b7ca688e15b5975cd978be1b152c /drivers/mmc
parentca55f46e13dd07b029b0a3d64637f983a6627b23 (diff)
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 02529af7c747..7a3f2436b011 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)
1253 nbytes += 4; 1253 nbytes += 4;
1254 1254
1255 if (offset == sg->length) { 1255 if (offset == sg->length) {
1256 flush_dcache_page(sg_page(sg));
1256 host->sg = sg = sg_next(sg); 1257 host->sg = sg = sg_next(sg);
1257 if (!sg) 1258 if (!sg)
1258 goto done; 1259 goto done;