spi: spi.c: White-space fix in __spi_pump_messages()
authorDavid Jander <david@protonic.nl>
Wed, 29 Jun 2022 14:25:17 +0000 (16:25 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 30 Jun 2022 12:40:34 +0000 (13:40 +0100)
Reported-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David Jander <david@protonic.nl>
Link: https://lore.kernel.org/r/20220629142519.3985486-2-david@protonic.nl
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c

index ef37f04..0316062 100644 (file)
@@ -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;