Re: [PATCH 2/2] regulator: core: always use enable_delay when enabling regulators

From: Mark Brown
Date: Thu May 20 2021 - 07:59:02 EST


On Thu, May 20, 2021 at 01:12:24AM +0300, Dmitry Baryshkov wrote:
> Some regulators (e.g. fixed) do not have .enable callback per se, but
> use supply regulator and enable_delay. Do not return early from
> _regulator_do_enable in such cases, so that enable_delay is properly
> handled.

This doesn't seem like the right fix - if we didn't actually do anything
then we don't need to add a delay. We should only be doing this if some
parent regulator changed state.

Attachment: signature.asc
Description: PGP signature