summaryrefslogtreecommitdiff
path: root/drivers/spi/xilinx_spi.c
diff options
context:
space:
mode:
authorJan Nikitenko <jan.nikitenko@gmail.com>2008-12-02 00:13:56 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-02 06:55:24 +0300
commit4e253d23003b54c88d0919d6088be74f00eec3c7 (patch)
tree418741f7add461e32f4c2801e8a693f9dbd0455b /drivers/spi/xilinx_spi.c
parent6a010b56e9bd2fdb32efd153e1a08305949b6b53 (diff)
downloadlinux-4e253d23003b54c88d0919d6088be74f00eec3c7.tar.xz
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 'drivers/spi/xilinx_spi.c')
0 files changed, 0 insertions, 0 deletions