* [PATCH v3] spi: cadence: revert "Add SPI transfer delays"
@ 2023-12-06 14:52 Nam Cao
2023-12-06 21:04 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Nam Cao @ 2023-12-06 14:52 UTC (permalink / raw)
To: broonie, linux-spi, linux-kernel, daniel; +Cc: Nam Cao
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>
---
v3: add missing change log
v2:
- update subject format
- rewrite commit message to be more descriptive
drivers/spi/spi-cadence.c | 1 -
1 file changed, 1 deletion(-)
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;
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v3] spi: cadence: revert "Add SPI transfer delays"
2023-12-06 14:52 [PATCH v3] spi: cadence: revert "Add SPI transfer delays" Nam Cao
@ 2023-12-06 21:04 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2023-12-06 21:04 UTC (permalink / raw)
To: linux-spi, linux-kernel, daniel, Nam Cao
On Wed, 06 Dec 2023 15:52:33 +0100, Nam Cao wrote:
> 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.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: cadence: revert "Add SPI transfer delays"
commit: 7a733e060bd20edb63b1f27f0b29cf9b184e0e8b
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-06 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-06 14:52 [PATCH v3] spi: cadence: revert "Add SPI transfer delays" Nam Cao
2023-12-06 21:04 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®