From: Mark Brown <broonie@kernel.org>
To: John Ogness <john.ogness@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] regulator: core: grab supply info before unlocking
Date: Fri, 22 Apr 2016 16:07:01 +0100 [thread overview]
Message-ID: <20160422150701.GG3217@sirena.org.uk> (raw)
In-Reply-To: <87wpnp90hc.fsf@linutronix.de>
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
On Fri, Apr 22, 2016 at 04:33:51PM +0200, John Ogness wrote:
> It is necessary to check if there is a supply while still holding
> the regulator lock. Otherwise a theoretical race can occur that
> someone else can add a supply and then we incorrectly try to
> unlock that newly added regulator.
I don't understand this. What do you mean by "add a supply"?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
prev parent reply other threads:[~2016-04-22 15:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-22 14:33 [PATCH] regulator: core: grab supply info before unlocking John Ogness
2016-04-22 15:07 ` Mark Brown [this message]
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=20160422150701.GG3217@sirena.org.uk \
--to=broonie@kernel.org \
--cc=john.ogness@linutronix.de \
--cc=linux-kernel@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