Re: [PATCH] regulator: core: Add option to prevent disabling unused regulators

From: Mark Brown
Date: Wed Nov 01 2023 - 09:09:11 EST


On Wed, Nov 01, 2023 at 10:26:52AM +0530, Manivannan Sadhasivam wrote:

> On the other note, I'm wondering if we could use sync_state() for handling the
> regulator_init_complete() work. This would ensure that the regulators are only
> disabled when all the consumers are probed.

That assumes that everything defined in the DT both has a driver and has
the driver available for the currently running kernel neither of which
is a good assumption.

Attachment: signature.asc
Description: PGP signature