Re: [PATCH 4/5] regulator: core: Add early supply resolution for a bypassed regulator
From: Mark Brown
Date: Mon Apr 25 2016 - 12:54:28 EST
On Mon, Apr 25, 2016 at 03:44:24PM +0100, Jon Hunter wrote:
> On 22/04/16 14:53, Mark Brown wrote:
> > We need to only *fail* in the bypass case.
> OK. So this is what I have now. Is it weird to return EPROBE_DEFER in
> _regulator_get_voltage()? If so, I could add a test for bypass in the
> regulator_register().
It should be fine but perhaps print an error saying that it's a bypassed
regulator with no supply? Deferring for no explicit reason can be
confusing.
Attachment:
signature.asc
Description: PGP signature