summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi-mxs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c
index 090930aa7205..68ea5078a9cf 100644
--- a/drivers/spi/spi-mxs.c
+++ b/drivers/spi/spi-mxs.c
@@ -218,7 +218,8 @@ static int mxs_spi_txrx_dma(struct mxs_spi *spi, int cs,
218 INIT_COMPLETION(spi->c); 218 INIT_COMPLETION(spi->c);
219 219
220 ctrl0 = readl(ssp->base + HW_SSP_CTRL0); 220 ctrl0 = readl(ssp->base + HW_SSP_CTRL0);
221 ctrl0 &= ~BM_SSP_CTRL0_XFER_COUNT; 221 ctrl0 &= ~(BM_SSP_CTRL0_XFER_COUNT | BM_SSP_CTRL0_IGNORE_CRC |
222 BM_SSP_CTRL0_READ);
222 ctrl0 |= BM_SSP_CTRL0_DATA_XFER | mxs_spi_cs_to_reg(cs); 223 ctrl0 |= BM_SSP_CTRL0_DATA_XFER | mxs_spi_cs_to_reg(cs);
223 224
224 if (!(flags & TXRX_WRITE)) 225 if (!(flags & TXRX_WRITE))