[PATCH] spi: pl022: update outdated references to pump_transfers()

Linus Walleij linusw at kernel.org
Mon Mar 23 06:29:37 PDT 2026


On Sat, Mar 21, 2026 at 12:00 PM Kexin Sun <kexinsun at smail.nju.edu.cn> wrote:

> 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 at smail.nju.edu.cn>

Impressive use of AI and impeccably correctly tagged,
this is exactly how I want AI-assisted submissions to look.

Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list