aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi-ath79.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/spi/spi-ath79.c b/drivers/spi/spi-ath79.c
index e02528244451..d4b8e1236612 100644
--- a/drivers/spi/spi-ath79.c
+++ b/drivers/spi/spi-ath79.c
@@ -200,6 +200,8 @@ static u32 ath79_spi_txrx_mode0(struct spi_device *spi, unsigned nsecs,
200 ath79_spi_delay(sp, nsecs); 200 ath79_spi_delay(sp, nsecs);
201 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out | AR71XX_SPI_IOC_CLK); 201 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out | AR71XX_SPI_IOC_CLK);
202 ath79_spi_delay(sp, nsecs); 202 ath79_spi_delay(sp, nsecs);
203 if (bits == 1)
204 ath79_spi_wr(sp, AR71XX_SPI_REG_IOC, out);
203 205
204 word <<= 1; 206 word <<= 1;
205 } 207 }