summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKexin Sun <kexinsun@smail.nju.edu.cn>2026-03-21 13:59:45 +0300
committerMark Brown <broonie@kernel.org>2026-03-24 22:55:23 +0300
commit762a3847a05c5c229009d36fbd0e2feee9dff81a (patch)
treebfa05cb3cb267bd7a10dc754e961f6cbbe2c2609
parentfa0561a1d583caece08d1fb904304c92c561e86a (diff)
downloadlinux-762a3847a05c5c229009d36fbd0e2feee9dff81a.tar.xz
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>
-rw-r--r--drivers/spi/spi-pxa2xx-dma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/spi/spi-pxa2xx-dma.c b/drivers/spi/spi-pxa2xx-dma.c
index 08cb6e96ac94..c94d1d192e74 100644
--- a/drivers/spi/spi-pxa2xx-dma.c
+++ b/drivers/spi/spi-pxa2xx-dma.c
@@ -29,9 +29,9 @@ static void pxa2xx_spi_dma_transfer_complete(struct driver_data *drv_data,
/*
* It is possible that one CPU is handling ROR interrupt and other
- * just gets DMA completion. Calling pump_transfers() twice for the
- * same transfer leads to problems thus we prevent concurrent calls
- * by using dma_running.
+ * just gets DMA completion. Calling spi_finalize_current_transfer()
+ * twice for the same transfer leads to problems thus we prevent
+ * concurrent calls by using dma_running.
*/
if (atomic_dec_and_test(&drv_data->dma_running)) {
/*