Thread (1 message) 1 message, 1 author, 2020-05-13

Re: [PATCH 07/17] spi: dw: Add Tx/Rx finish wait methods to DMA

From: Mark Brown <broonie@kernel.org>
Date: 2020-05-13 11:37:01
Also in: linux-devicetree, linux-spi, lkml

On Wed, May 13, 2020 at 02:35:55PM +0300, Serge Semin wrote:
On Fri, May 08, 2020 at 06:30:23PM +0100, Mark Brown wrote:
quoted
quoted
+	while (dw_spi_dma_tx_busy(dws) && retry--)
+		ndelay(ns);
quoted
How deep can the FIFO be with this IP - could we end up ndelay()ing for
non-trivial amounts of time?
According to the DW APB SSI db it can be up to 256 transfer words. So the delay
should be trivial.
Yes, that should be fine.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help