aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Jander <[email protected]>2022-06-29 16:25:17 +0200
committerMark Brown <[email protected]>2022-06-30 13:40:34 +0100
commitc191543e99fc03a36ccf7869392957a7182e0ada (patch)
tree71361690f2c8a6681bcb6edcc2a30d6830cd53a7
parent0dbc49476ac7226130c79119f3f0d88e964880c0 (diff)
spi: spi.c: White-space fix in __spi_pump_messages()
Reported-by: Andy Shevchenko <[email protected]> Signed-off-by: David Jander <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--drivers/spi/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index ef37f043fd17..031606251b58 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;