diff options
author | Andrea Paterniani <a.paterniani@swapp-eng.it> | 2008-11-19 18:36:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-19 21:49:58 -0500 |
commit | 3b45d6380c392e402adc460e4ccf7d41e0caf82a (patch) | |
tree | 39526d9c921330fbdd57c864364b5ce3cdbd8751 /fs | |
parent | b3b4dc8840a8fdbe495723d35cd976d781fd42fa (diff) |
spi_imx: full duplex dma corruption bugfix
Fix unsafe order in dma mapping operation: always flush data from the
cache *BEFORE* invalidating it, to allow full duplex transfers where the
same buffer may be used for both writes and reads.
Signed-off-by: Andrea Paterniani <a.paterniani@swapp-eng.it>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions