* [PATCH] Revert "spi: cadence: Add SPI transfer delays"
@ 2023-12-06 13:44 Nam Cao
2023-12-06 13:55 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Nam Cao @ 2023-12-06 13:44 UTC (permalink / raw)
To: broonie, linux-spi, linux-kernel, daniel; +Cc: Nam Cao
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 --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 related [flat|nested] 3+ messages in thread
* Re: [PATCH] Revert "spi: cadence: Add SPI transfer delays"
2023-12-06 13:44 [PATCH] Revert "spi: cadence: Add SPI transfer delays" Nam Cao
@ 2023-12-06 13:55 ` Mark Brown
2023-12-06 14:33 ` Nam Cao
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2023-12-06 13:55 UTC (permalink / raw)
To: Nam Cao; +Cc: linux-spi, linux-kernel, daniel
[-- Attachment #1: Type: text/plain, Size: 836 bytes --]
On Wed, Dec 06, 2023 at 02:44:46PM +0100, Nam Cao wrote:
> This reverts commit 855a40cd8cccfbf5597adfa77f55cdc8c44b6e42.
Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
Please include human readable descriptions of things like commits and
issues being discussed in e-mail in your mails, this makes them much
easier for humans to read especially when they have no internet access.
I do frequently catch up on my mail on flights or while otherwise
travelling so this is even more pressing for me than just being about
making things a bit easier to read.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Revert "spi: cadence: Add SPI transfer delays"
2023-12-06 13:55 ` Mark Brown
@ 2023-12-06 14:33 ` Nam Cao
0 siblings, 0 replies; 3+ messages in thread
From: Nam Cao @ 2023-12-06 14:33 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-spi, linux-kernel, daniel
On Wed, 6 Dec 2023 13:55:30 +0000 Mark Brown <broonie@kernel.org> wrote:
> On Wed, Dec 06, 2023 at 02:44:46PM +0100, Nam Cao wrote:
> > This reverts commit 855a40cd8cccfbf5597adfa77f55cdc8c44b6e42.
>
> Please submit patches using subject lines reflecting the style for the
> subsystem, this makes it easier for people to identify relevant patches.
> Look at what existing commits in the area you're changing are doing and
> make sure your subject lines visually resemble what they're doing.
> There's no need to resubmit to fix this alone.
>
> Please include human readable descriptions of things like commits and
> issues being discussed in e-mail in your mails, this makes them much
> easier for humans to read especially when they have no internet access.
> I do frequently catch up on my mail on flights or while otherwise
> travelling so this is even more pressing for me than just being about
> making things a bit easier to read.
Okay, will send a v2 shortly. Sorry for the inconvenience.
Best regards,
Nam
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-06 14:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-06 13:44 [PATCH] Revert "spi: cadence: Add SPI transfer delays" Nam Cao
2023-12-06 13:55 ` Mark Brown
2023-12-06 14:33 ` Nam Cao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox