diff options
author | Nam Cao <namcao@linutronix.de> | 2023-12-06 15:52:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-12-06 16:31:19 +0000 |
commit | 7a733e060bd20edb63b1f27f0b29cf9b184e0e8b (patch) | |
tree | 09ae83675216e7fe61d9cf21ed285e67e346d2e4 /drivers | |
parent | 890188d2d7e4ac6c131ba166ca116cb315e752ee (diff) | |
download | linux-stable-7a733e060bd20edb63b1f27f0b29cf9b184e0e8b.tar.gz linux-stable-7a733e060bd20edb63b1f27f0b29cf9b184e0e8b.tar.bz2 linux-stable-7a733e060bd20edb63b1f27f0b29cf9b184e0e8b.zip |
spi: cadence: revert "Add SPI transfer delays"
The commit 855a40cd8ccc ("spi: cadence: Add SPI transfer delays") adds a
delay after each transfer into the driver's transfer_one(). However,
the delay is already done in SPI core. So this commit unnecessarily
doubles the delay amount. Revert this commit.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Link: https://lore.kernel.org/r/20231206145233.74982-1-namcao@linutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi-cadence.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c index 1f2f8c717df6..a50eb4db79de 100644 --- a/drivers/spi/spi-cadence.c +++ b/drivers/spi/spi-cadence.c @@ -451,7 +451,6 @@ static int cdns_transfer_one(struct spi_controller *ctlr, udelay(10); cdns_spi_process_fifo(xspi, xspi->tx_fifo_depth, 0); - spi_transfer_delay_exec(transfer); cdns_spi_write(xspi, CDNS_SPI_IER, CDNS_SPI_IXR_DEFAULT); return transfer->len; |