]> git.baikalelectronics.ru Git - kernel.git/commit
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@kernel.org>
Sun, 31 Aug 2014 12:41:46 +0000 (13:41 +0100)
commitc31e356254d9f827bab1eaa5b3cf85702de6846e
treeae8ce72c0e2f7a4bba88850c471fbb3dc04b1423
parent8af91cde9e10999036bfa0071f5a1f87f0d39ed4
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