diff mbox series

Revert "spi: cadence: Add SPI transfer delays"

Message ID 20231206134446.69048-1-namcao@linutronix.de
State New
Headers show
Series Revert "spi: cadence: Add SPI transfer delays" | expand

Commit Message

Nam Cao Dec. 6, 2023, 1:44 p.m. UTC
This reverts commit 855a40cd8cccfbf5597adfa77f55cdc8c44b6e42.

SPI transfer delay is already handled in SPI core. There is no need to
do it again.

Signed-off-by: Nam Cao <namcao@linutronix.de>
---
 drivers/spi/spi-cadence.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cadence.c
index 12c940ba074a..bd96d8b546cd 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;