Re: [PATCH 4/5] regulator: core: Add early supply resolution for a bypassed regulator

From: Mark Brown
Date: Fri Apr 22 2016 - 09:53:52 EST


On Fri, Apr 22, 2016 at 12:26:57PM +0100, Jon Hunter wrote:

> OK. Sorry if I have misunderstood you here, but this sounds more like
> Thierry's initial proposal [0] but ignoring the any errors returned (and
> we need to fix-up the locking in this patch). In the discussion that

Yes!

> followed I thought we agreed to only do this for the bypass case [1]. As
> far as I am concerned either will work, but to confirm we should just
> always try to resolve the supply early during regulator_register(), correct?

We need to only *fail* in the bypass case.

Attachment: signature.asc
Description: PGP signature