Re: [PATCH 1/5] regulator: core: Resolve supply earlier

From: Mark Brown
Date: Mon Apr 11 2016 - 10:03:13 EST


On Thu, Apr 07, 2016 at 04:22:35PM +0200, Thierry Reding wrote:

> + /*
> + * set_machine_constraints() needs the supply to be resolved in order
> + * to support querying the current voltage in bypass mode. Resolve it
> + * here to more easily handle deferred probing.
> + */
> + ret = regulator_resolve_supply(rdev);
> + if (ret < 0)
> + goto scrub;

This shouldn't be a hard dependency: most regulators won't be in bypass
mode or otherwise depend on their parents enough to need this.

Attachment: signature.asc
Description: PGP signature