]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: pl022: update outdated references to pump_transfers()
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 21 Mar 2026 10:59:40 +0000 (18:59 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 23 Mar 2026 18:11:00 +0000 (18:11 +0000)
commita37fb5166be943fa78962f77db00ce5a25366e87
treeeaadd7a165b0494f5e5b11c17d4bd6ec43751af3
parent9861e15f6347dcce65795b8dd680b491a54d59a9
spi: pl022: update outdated references to pump_transfers()

The pump_transfers tasklet was removed when the driver
switched to the SPI core message processing loop in commit
9b2ef250b31d ("spi: spl022: switch to use default
spi_transfer_one_message()").  The kdoc of
pl022_interrupt_handler() still describes the old flow: scheduling
the pump_transfers tasklet, calling giveback(), and flagging
STATE_ERROR — none of which exist in the current code.  Rewrite
the kdoc to reflect the current paths, which flag errors via
SPI_TRANS_FAIL_IO and call spi_finalize_current_transfer()
directly.

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260321105940.8143-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pl022.c