diff options
author | Jan Nikitenko <jan.nikitenko@gmail.com> | 2008-12-01 13:13:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-01 19:55:24 -0800 |
commit | 4e253d23003b54c88d0919d6088be74f00eec3c7 (patch) | |
tree | 418741f7add461e32f4c2801e8a693f9dbd0455b /net/core | |
parent | 6a010b56e9bd2fdb32efd153e1a08305949b6b53 (diff) |
spi: au1550_spi full duplex dma fix
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. Tested with mmc-spi.
Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com>
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 'net/core')
0 files changed, 0 insertions, 0 deletions