summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-03-25 14:46:37 +0000
committerMark Brown <broonie@kernel.org>2022-04-04 08:51:07 +0100
commit261f06315cf7c3744731e36bfd8d4434949e3389 (patch)
tree5e124065d19dc827acec535d48c214b64b0fb921 /drivers/leds
parent6c315afe65d05dc6eebf2d6b73a191990aada218 (diff)
regulator: Flag uncontrollable regulators as always_on
While we currently assume that regulators with no control available are just uncontionally enabled this isn't always as clearly displayed to users as is desirable, for example the code for disabling unused regulators will log that it is about to disable them. Clean this up a bit by setting always_on during constraint evaluation if we have no available mechanism for controlling the regualtor so things that check the constraint will do the right thing. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220325144637.1543496-1-broonie@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions