Commit 5e7184ae authored by Haavard Skinnemoen's avatar Haavard Skinnemoen

atmel-mci: Add missing flush_dcache_page() in PIO transfer code

Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
parent ca55f46e
...@@ -1253,6 +1253,7 @@ static void atmci_read_data_pio(struct atmel_mci *host) ...@@ -1253,6 +1253,7 @@ static void atmci_read_data_pio(struct atmel_mci *host)
nbytes += 4; nbytes += 4;
if (offset == sg->length) { if (offset == sg->length) {
flush_dcache_page(sg_page(sg));
host->sg = sg = sg_next(sg); host->sg = sg = sg_next(sg);
if (!sg) if (!sg)
goto done; goto done;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment