Skip to contentSkip to conversation

spi: cadence: Add SPI transfer delays

PATCH In review Daniel Mack 2 participants 2 messages Oct 9, 2020 SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: cadence: Add SPI transfer delays

When processing an SPI transfer, honor the delay that might be passed along with it.

---
 drivers/spi/spi-cadence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-cadence.c +1 -1
index 82a0ee09cbe14..ba9bf80a34419 100644
@@ -418,8 +418,8 @@ static int cdns_transfer_one(struct spi_master *master,
 	xspi->rx_bytes = transfer->len;
 
 	cdns_spi_setup_transfer(spi, transfer);
-
 	cdns_spi_fill_tx_fifo(xspi);
+	spi_transfer_delay_exec(transfer);
 
 	cdns_spi_write(xspi, CDNS_SPI_IER, CDNS_SPI_IXR_DEFAULT);
 	return transfer->len;
Signature · 1 line
2.26.2
maintainer
#1 lore raw
Quoted 2 lines · Daniel Mack

When processing an SPI transfer, honor the delay that might be passed along with it.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: cadence: Add SPI transfer delays

      commit: 855a40cd8cccfbf5597adfa77f55cdc8c44b6e42

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark