Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

spi: pxa2xx: update outdated reference to pump_transfers()

The function pump_transfers() was split into
pxa2xx_spi_transfer_one(), pxa2xx_spi_handle_err() and
pxa2xx_spi_set_cs() in commit d5898e19c0d7 ("spi: pxa2xx: Use
core message processing loop"). The comment in
pxa2xx_spi_dma_transfer_complete() still warns about concurrent
calls to pump_transfers(), but the actual operation protected by
dma_running is now spi_finalize_current_transfer(). Update the
reference.

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Link: https://patch.msgid.link/20260321105945.8224-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kexin Sun and committed by
Mark Brown
762a3847 fa0561a1

+3 -3
+3 -3
drivers/spi/spi-pxa2xx-dma.c
··· 29 29 30 30 /* 31 31 * It is possible that one CPU is handling ROR interrupt and other 32 - * just gets DMA completion. Calling pump_transfers() twice for the 33 - * same transfer leads to problems thus we prevent concurrent calls 34 - * by using dma_running. 32 + * just gets DMA completion. Calling spi_finalize_current_transfer() 33 + * twice for the same transfer leads to problems thus we prevent 34 + * concurrent calls by using dma_running. 35 35 */ 36 36 if (atomic_dec_and_test(&drv_data->dma_running)) { 37 37 /*