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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:34 +0000 (11:15 +0100)
commit84cdff46020788e08addeed19251b23a63071fbb
tree45f400e283613ecb73037cf6a892ede10b64e1a2
parent05d6ddcb2b30629581168cae772269c60cd8d49b
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>
(cherry picked from commit cdcd565fa0925edf9b80c875fcc84a231c75bd1d)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/spi/spi-sh-msiof.c