diff options
author | Andrea Paterniani <a.paterniani@swapp-eng.it> | 2008-11-20 00:36:26 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-20 03:49:58 +0100 |
commit | 3b45d6380c392e402adc460e4ccf7d41e0caf82a (patch) | |
tree | 39526d9c921330fbdd57c864364b5ce3cdbd8751 /fs | |
parent | lcd: fix oops if driver only interested in .set_power (diff) | |
download | linux-3b45d6380c392e402adc460e4ccf7d41e0caf82a.tar.xz linux-3b45d6380c392e402adc460e4ccf7d41e0caf82a.zip |
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