diff options
author | David Jander <david@protonic.nl> | 2022-06-29 16:25:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-30 13:40:34 +0100 |
commit | c191543e99fc03a36ccf7869392957a7182e0ada (patch) | |
tree | 71361690f2c8a6681bcb6edcc2a30d6830cd53a7 /drivers/spi | |
parent | 0dbc49476ac7226130c79119f3f0d88e964880c0 (diff) | |
download | linux-c191543e99fc03a36ccf7869392957a7182e0ada.tar.gz linux-c191543e99fc03a36ccf7869392957a7182e0ada.tar.bz2 linux-c191543e99fc03a36ccf7869392957a7182e0ada.zip |
spi: spi.c: White-space fix in __spi_pump_messages()
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi.c | 2 |
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; |