commit | 5323c48b0cfd98d93eb29907450ca48d009545ad | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Thu Feb 10 08:37:49 2011 +0100 |
committer | Michal Simek <monstr@monstr.eu> | Wed Mar 09 08:09:57 2011 +0100 |
tree | adfedc74d7f4185e085e36939a59e1d490306d87 | |
parent | 0a2e1d23f2976287904e611b195f628a52b299b1 [diff] |
microblaze: Add support for DMA_BIDIRECTIONAL CDMA requires DMA_BIDIRECTIONAL option. Signed-off-by: Michal Simek <monstr@monstr.eu>
diff --git a/arch/microblaze/kernel/dma.c b/arch/microblaze/kernel/dma.c index 79c7465..393e6b2 100644 --- a/arch/microblaze/kernel/dma.c +++ b/arch/microblaze/kernel/dma.c
@@ -26,6 +26,7 @@ { switch (direction) { case DMA_TO_DEVICE: + case DMA_BIDIRECTIONAL: flush_dcache_range(paddr + offset, paddr + offset + size); break; case DMA_FROM_DEVICE: