[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160422150701.GG3217@sirena.org.uk>
Date: Fri, 22 Apr 2016 16:07:01 +0100
From: Mark Brown <broonie@...nel.org>
To: John Ogness <john.ogness@...utronix.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: core: grab supply info before unlocking
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"?
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists