Re: [PATCH 1/3] regulator: core: fix boot-on regulators use_count usage
From: Mark Brown
Date: Wed Oct 09 2019 - 05:54:27 EST
On Tue, Oct 08, 2019 at 10:16:22PM +0200, Marco Felsch wrote:
> On 19-10-08 17:23, Mark Brown wrote:
> > As you'll have seen from the discussion that's a bug, nothing should be
> > taking a reference to the regulator outside of explicit enable calls.
> Okay now we are on the right way :) Is the solution proposed by Doug:
> ".. we need to match "regulator->enable_count" to "rdev->use_count" at
> the end of _regulator_get() in the exclusive case..." the correct fix?
Yes, I think so.
> Another question. Please can you have a look on the "DA9062 PMIC fixes
> and features" series as well?
I don't know what that is, sorry.
Attachment:
signature.asc
Description: PGP signature