summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-08-31 13:46:19 +0100
committerMark Brown <broonie@kernel.org>2014-08-31 13:46:19 +0100
commit2dbf5910442dfe3de239df7c01d6b83e72b8dbdd (patch)
treee08c5962cbc1ab6e0bbd59fdcfded9e4c37fed25 /drivers/spi
parent29571ce4a3577ae0bff3909da7c1befef1d739db (diff)
parentcdcd565fa0925edf9b80c875fcc84a231c75bd1d (diff)
downloadlinux-2dbf5910442dfe3de239df7c01d6b83e72b8dbdd.tar.bz2
Merge remote-tracking branch 'spi/fix/sh-msiof' into spi-linus
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-sh-msiof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index 887c2084130f..543075b80f16 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -693,9 +693,9 @@ static int sh_msiof_dma_once(struct sh_msiof_spi_priv *p, const void *tx,
reinit_completion(&p->done);
/* Now start DMA */
- if (tx)
- dma_async_issue_pending(p->master->dma_rx);
if (rx)
+ dma_async_issue_pending(p->master->dma_rx);
+ if (tx)
dma_async_issue_pending(p->master->dma_tx);
ret = sh_msiof_spi_start(p, rx);