commit | 3b45d6380c392e402adc460e4ccf7d41e0caf82a | [log] [tgz] |
---|---|---|
author | Andrea Paterniani <a.paterniani@swapp-eng.it> | Wed Nov 19 15:36:26 2008 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 19 18:49:58 2008 -0800 |
tree | 39526d9c921330fbdd57c864364b5ce3cdbd8751 | |
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>