diff options
author | Jan Nikitenko <jan.nikitenko@gmail.com> | 2008-12-01 22:13:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-02 04:55:24 +0100 |
commit | 4e253d23003b54c88d0919d6088be74f00eec3c7 (patch) | |
tree | 418741f7add461e32f4c2801e8a693f9dbd0455b /drivers/spi/spi_s3c24xx_gpio.c | |
parent | spi: fix spi_imx probe oopsing (diff) | |
download | linux-4e253d23003b54c88d0919d6088be74f00eec3c7.tar.xz linux-4e253d23003b54c88d0919d6088be74f00eec3c7.zip |
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/spi_s3c24xx_gpio.c')
0 files changed, 0 insertions, 0 deletions