diff options
author | Vitja Makarov <vitja.makarov@gmail.com> | 2009-04-06 19:00:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 08:31:04 -0700 |
commit | 8cf5858c51f88208fe56b195251ab4f21265386c (patch) | |
tree | 6095e2a5f9cb5d0b19afef30fd74bb360c4a42db /arch/blackfin/include/asm/bfin5xx_spi.h | |
parent | 3bcfa9e47a7d1be6faef3be6c4b2049e585e2f38 (diff) |
Blackfin SPI Driver: ensure cache coherency before doing DMA
Flush or invalidate caches before doing DMA transfer, if needed.
[Mike Frysinger <vapier.adi@gmail.com>: add comment to address the
issue "Full duplex only works for non-DMA transfers".]
Signed-off-by: Vitja Makarov <vitja.makarov@gmail.com>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/blackfin/include/asm/bfin5xx_spi.h')
0 files changed, 0 insertions, 0 deletions