spi: armada-3700: Set mode bits correctly
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 16 Dec 2016 09:33:25 +0000 (12:33 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 16 Dec 2016 12:28:36 +0000 (12:28 +0000)
commit42cd4ed888393b2bc8ddfd277aa2d0ec0c7e0259
tree95c3b27f8c461d952fab9b84bf2cc63ab52b2d69
parentf6f0083cca66e673cca6fa26b52b107b5570081d
spi: armada-3700: Set mode bits correctly

We set SPI_RX_DUAL twice instead of setting SPI_TX_DUAL.

Fixes: 5762ab71eb24 ("spi: Add support for Armada 3700 SPI Controller")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-armada-3700.c