]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
atmel-mci: Add missing flush_dcache_page() in PIO transfer code
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 5 Oct 2008 13:27:50 +0000 (15:27 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Sun, 5 Oct 2008 18:39:21 +0000 (20:39 +0200)
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
drivers/mmc/host/atmel-mci.c

index 02529af7c7476f80f2df55721c4102cb2637a42f..7a3f2436b0119f5a6ae49c65bf39bef0bc1fb286 100644 (file)
@@ -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;