linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* spi: *: Call the dedicated transfer completion function.
@ 2021-01-07 23:58 Vincent Pelletier
  2021-01-07 23:58 ` [1/3] spi: bcm2835: " Vincent Pelletier
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Pelletier @ 2021-01-07 23:58 UTC (permalink / raw)
  To: Mark Brown, Heiko Stuebner, linux-spi, linux-rockchip,
	Nicolas Saenz Julienne, Florian Fainelli, Ray Jui, Scott Branden,
	linux-rpi-kernel

Hello,

I started this fix on bcm2835.c and, because of its simplicity, thought
I should check other controllers as well.
This patch set should fix all occurrences, as of v5.11-rc2, of an SPI
controller driver calling
  complete(&...->xfer_completion);
when it could call
  spi_finalize_current_transfer(...);
as requested in Documentation/spi/spi-summary.rst .

While I did build all modified files, and these should be trivial to
check for correctness, I have not exercised all codepaths.
I have exercised spi-bcm2835 IRQ and DMA tx, but I am still hunting
for another issue which causes completion timeouts at spi/spi.c level
which seem to affect spi-bcm2835 dma transfers (both before and after
this patch set).

Regards,
Vincent Pelletier



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-14 16:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-07 23:58 spi: *: Call the dedicated transfer completion function Vincent Pelletier
2021-01-07 23:58 ` [1/3] spi: bcm2835: " Vincent Pelletier
2021-01-07 23:58   ` [2/3] spi: bcm2835aux: " Vincent Pelletier
2021-01-14 16:48     ` Mark Brown
2021-01-07 23:58   ` [3/3] spi: rockchip: " Vincent Pelletier
2021-01-14 16:48   ` [1/3] spi: bcm2835: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).