atmel-mci: Add missing flush_dcache_page() in PIO transfer code
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user