Message ID | 20220629142519.3985486-2-david@protonic.nl (mailing list archive) |
---|---|
State | Accepted |
Commit | c191543e99fc03a36ccf7869392957a7182e0ada |
Headers | show |
Series | Fix some coding style issues | expand |
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;
Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: David Jander <david@protonic.nl> --- drivers/spi/spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)