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>

authored by Geert Uytterhoeven and committed by Mark Brown cdcd565f 3e81b592

+2 -2
+2 -2
drivers/spi/spi-sh-msiof.c
··· 693 693 reinit_completion(&p->done); 694 694 695 695 /* Now start DMA */ 696 - if (tx) 697 - dma_async_issue_pending(p->master->dma_rx); 698 696 if (rx) 697 + dma_async_issue_pending(p->master->dma_rx); 698 + if (tx) 699 699 dma_async_issue_pending(p->master->dma_tx); 700 700 701 701 ret = sh_msiof_spi_start(p, rx);