diff options
| -rw-r--r-- | drivers/spi/spi-xilinx.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-xilinx.c b/drivers/spi/spi-xilinx.c index a0f7c9d4a349..12b311ed9bfa 100644 --- a/drivers/spi/spi-xilinx.c +++ b/drivers/spi/spi-xilinx.c | |||
| @@ -271,7 +271,6 @@ static int xilinx_spi_txrx_bufs(struct spi_device *spi, struct spi_transfer *t) | |||
| 271 | * transmitter while the Isr refills the transmit register/FIFO, | 271 | * transmitter while the Isr refills the transmit register/FIFO, |
| 272 | * or make sure it is stopped if we're done. | 272 | * or make sure it is stopped if we're done. |
| 273 | */ | 273 | */ |
| 274 | cr = xspi->read_fn(xspi->regs + XSPI_CR_OFFSET); | ||
| 275 | xspi->write_fn(cr | XSPI_CR_TRANS_INHIBIT, | 274 | xspi->write_fn(cr | XSPI_CR_TRANS_INHIBIT, |
| 276 | xspi->regs + XSPI_CR_OFFSET); | 275 | xspi->regs + XSPI_CR_OFFSET); |
| 277 | 276 | ||
