[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160325170558.GB5028@sirena.org.uk>
Date: Fri, 25 Mar 2016 17:05:58 +0000
From: Mark Brown <broonie@...nel.org>
To: Ivaylo Dimitrov <ivo.g.dimitrov.75@...il.com>
Cc: Sebastian Reichel <sre@...nel.org>, tony@...mide.com,
lgirdwood@...il.com, linux-omap@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: twl: Enable regulators over the powerbus as
well
On Fri, Mar 25, 2016 at 06:50:18PM +0200, Ivaylo Dimitrov wrote:
> On 25.03.2016 18:19, Mark Brown wrote:
> >What makes you claim that this is a bug in the framework? Does anything
> >in the machine configuration say that changing the modes is allowed?
> My understanding is that regulator core have to make sure an enabled
> regulator to be in REGULATOR_STATUS_NORMAL. Now it enables the regulator,
No, absolutely not. Modes are completely orthogonal to enabling and
disabling the regulator - modes reflect an efficiency/accuracy tradeoff
in the regulation, they are nothing to do with the regulator being
enabled. Setting a mode should not affect the regulator enable state
and enabling the regulator should not affect the mode.
> It might be that I am not getting the logic behind.
Yes, that seems to be the case.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists