spi: sh-msiof: Fix transmit-only DMA transfers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 7 Aug 2014 12:07:43 +0000 (14:07 +0200)
committerMark Brown <broonie@linaro.org>
Sat, 16 Aug 2014 22:14:30 +0000 (17:14 -0500)
commit7a9f957b395fc08edc47620c01e8bb5b798caddb
tree338e9290ea716ec65b77fabd978c2fcc4f502ec1
parenta5e7c719fe257214aeda3dadb502a4cf58209a61
spi: sh-msiof: Fix transmit-only DMA transfers

Fix tx/rx mixup, which broke transmit-only transfers.

Introduced by commit 4240305f7cbdc7782aa8bc40cc702775d9ac0839
("spi: sh-msiof: Fix leaking of unused DMA descriptors").

Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sh-msiof.c