]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Don't disable unused regulators we don't have permission for
authorMark Brown <broonie@linaro.org>
Sun, 1 Jun 2014 18:15:16 +0000 (19:15 +0100)
committerMark Brown <broonie@linaro.org>
Sun, 1 Jun 2014 18:16:11 +0000 (19:16 +0100)
commit32beac766354d1ed188bb5ce4c3af5a722e66728
treef8849caebda4409c190f565e5ca24f9898eba03f
parent03a169e57a9a3fd69c1713c317a06f163ad63b5c
regulator: Don't disable unused regulators we don't have permission for

In the spirit of conservatism that governs our general approach to
permissions it is better if we don't touch regulators we weren't explicitly
given permissions to control. This avoids the need to explicitly specify
unknown regulators in DT as always on, if a regulator is not otherwise
involved in software control it can be omitted from the DT.

Regulators explicitly given constraints in DT still need to have an always
on constraint specified as before.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/core.c