]> git.kernelconcepts.de Git - karo-tx-linux.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)
commite953583456005823d7c20fefe5212f0f60a93fb6
treef8849caebda4409c190f565e5ca24f9898eba03f
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
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