Re: [PATCH v2] regulator: devres: introduce managed enable and disable operations
From: Mark Brown
Date: Tue Feb 21 2017 - 14:00:14 EST
On Tue, Feb 21, 2017 at 12:30:03AM -0800, Dmitry Torokhov wrote:
> On Mon, Feb 20, 2017 at 11:02:58AM -0800, Mark Brown wrote:
> > On Mon, Feb 13, 2017 at 10:51:52AM -0800, Dmitry Torokhov wrote:
> But that is what I meant here about managed action. You are not
> interacting with managed regulator here, you have managed enable. There
> is absolutely nothing preventing you from calling
> devm_regulator_enable() on a regulator that was obtained with
> regulator_get() (i.e. non-managed).
That's not the point, the point is using both devm_regulator_enable()
and regulator_enable() and so on.
Description: PGP signature