linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
To: Johan Korsnes <johan.korsnes@remarkable.no>
Cc: linux-gpio@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>,
	 Haibo Chen <haibo.chen@nxp.com>
Subject: Re: [PATCH] gpio: vf610: add locking to gpio direction functions
Date: Thu, 6 Feb 2025 19:23:13 +0100	[thread overview]
Message-ID: <CACMJSetnZbaTd8ZC3bWMFDfKD5D8azK=W9X33q8CntgZXr47CA@mail.gmail.com> (raw)
In-Reply-To: <20250206181714.417433-1-johan.korsnes@remarkable.no>

On Thu, 6 Feb 2025 at 19:17, Johan Korsnes <johan.korsnes@remarkable.no> wrote:
>
> Add locking to `vf610_gpio_direction_input|output()` functions. Without
> this locking, a race condition exists between concurrent calls to these
> functions, potentially leading to incorrect GPIO direction settings.
>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Please use the email address that pops up when you call
scripts/get_maintainer.pl for patch submission next time.

Bart

  reply	other threads:[~2025-02-06 18:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-06 18:17 [PATCH] gpio: vf610: add locking to gpio direction functions Johan Korsnes
2025-02-06 18:23 ` Bartosz Golaszewski [this message]
2025-02-06 18:29 ` Linus Walleij
2025-02-07  6:21   ` Bough Chen
2025-02-10  8:52     ` Johan Korsnes
2025-02-10  9:35       ` Bough Chen
2025-02-13  6:12         ` Johan Korsnes
2025-02-13  6:39           ` Bough Chen
2025-02-13 21:45     ` Linus Walleij
2025-02-13 23:08       ` Linus Walleij

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='CACMJSetnZbaTd8ZC3bWMFDfKD5D8azK=W9X33q8CntgZXr47CA@mail.gmail.com' \
    --to=bartosz.golaszewski@linaro.org \
    --cc=haibo.chen@nxp.com \
    --cc=johan.korsnes@remarkable.no \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@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).