From: David Jander <david@protonic.nl>
To: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org,
Andy Shevchenko <andy.shevchenko@gmail.com>,
David Jander <david@protonic.nl>
Subject: [PATCH 1/3] spi: spi.c: White-space fix in __spi_pump_messages()
Date: Wed, 29 Jun 2022 16:25:17 +0200 [thread overview]
Message-ID: <20220629142519.3985486-2-david@protonic.nl> (raw)
In-Reply-To: <20220629142519.3985486-1-david@protonic.nl>
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(-)
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
next prev parent reply other threads:[~2022-06-29 14:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-29 14:25 [PATCH 0/3] Fix some coding style issues David Jander
2022-06-29 14:25 ` David Jander [this message]
2022-06-29 14:25 ` [PATCH 2/3] spi: spi.c: Fix comment style David Jander
2022-06-29 14:25 ` [PATCH 3/3] spi: spi.c: Remove redundant else block David Jander
2022-06-29 14:28 ` David Jander
2022-06-29 14:34 ` Mark Brown
2022-06-30 14:17 ` [PATCH 0/3] Fix some coding style issues Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220629142519.3985486-2-david@protonic.nl \
--to=david@protonic.nl \
--cc=andy.shevchenko@gmail.com \
--cc=broonie@kernel.org \
--cc=linux-spi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).