mmc: at91_mci: modify cache flush routines
authorNicolas Ferre <nicolas.ferre@atmel.com>
Sat, 15 May 2010 16:32:31 +0000 (12:32 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 May 2010 19:48:10 +0000 (12:48 -0700)
commitbdef2fe88b1e4bde7458aedd207929ce3f9d66ee
tree379dda36d68de2ed79bfe08764378e28503c6190
parent3f8bf8f0fd79410fbcbf9dd9910dbc9d4882c94f
mmc: at91_mci: modify cache flush routines

As we were using an internal dma flushing routine, this patch changes to
the DMA API flush_kernel_dcache_page().  Driver is able to compile now.

[akpm@linux-foundation.org: flush_kernel_dcache_page() comes before kunmap_atomic()]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/at91_mci.c