Reported-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> Signed-off-by: David Jander <david@xxxxxxxxxxx> --- drivers/spi/spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index b9ac89ee9d05..b910f7a6c238 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -1727,9 +1727,9 @@ static void __spi_pump_messages(struct spi_controller *ctlr, bool in_kthread) spin_unlock_irqrestore(&ctlr->queue_lock, flags); ret = __spi_pump_transfer_message(ctlr, msg, was_busy); - if (!ret) kthread_queue_work(ctlr->kworker, &ctlr->pump_messages); + ctlr->cur_msg = NULL; ctlr->fallback = false; -- 2.32.0