Skip to content

Commit 7a733e0

Browse files
covanambroonie
authored andcommitted
spi: cadence: revert "Add SPI transfer delays"
The commit 855a40c ("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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 890188d commit 7a733e0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/spi/spi-cadence.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,6 @@ static int cdns_transfer_one(struct spi_controller *ctlr,
451451
udelay(10);
452452

453453
cdns_spi_process_fifo(xspi, xspi->tx_fifo_depth, 0);
454-
spi_transfer_delay_exec(transfer);
455454

456455
cdns_spi_write(xspi, CDNS_SPI_IER, CDNS_SPI_IXR_DEFAULT);
457456
return transfer->len;

0 commit comments

Comments
 (0)