From: Haavard Skinnemoen Date: Sun, 5 Oct 2008 13:27:50 +0000 (+0200) Subject: atmel-mci: Add missing flush_dcache_page() in PIO transfer code X-Git-Tag: v2.6.28-rc1~701^2^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5e7184ae0dd49456387e8b1cdebc6b2c92fc6d51;p=linux-2.6-omap-h63xx.git atmel-mci: Add missing flush_dcache_page() in PIO transfer code Signed-off-by: Haavard Skinnemoen --- diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 02529af7c74..7a3f2436b01 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;