Re: [PATCH AUTOSEL for 4.9 43/50] regulator: core: Don't use regulators as supplies until the parent is bound

From: Mark Brown
Date: Wed Oct 25 2017 - 04:06:46 EST


On Wed, Oct 25, 2017 at 01:56:02AM +0000, Levin, Alexander (Sasha Levin) wrote:

> When regulators are successfully registered, we check to see if the
> regulator is a supply for any other registered regulator and if so
> add the new regulator as the supply for the existing regulator(s).

This had some knock on effects which caused trouble for other things,
for example 3827b64dba (regulator: core: Resolve supplies before
disabling unused regulators).

In general I would be extremely wary of backporting anything like this
that affects things like device instantiation ordering, even without any
knock on bugs directly in the code there's a good chance that someone
building on stable is going to have some kind of dependency on the
particular behaviour of the kernel version they're using and changes
like this could cause updating to the latest stable to introduce
problems which then discourages people from picking up stable.

Attachment: signature.asc
Description: PGP signature