diff options
author | Pascal Paillet <p.paillet@st.com> | 2019-11-13 13:27:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-11-15 15:05:27 +0300 |
commit | 089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b (patch) | |
tree | 4e8e82926a2adc6b4f9c0a0729e1b34c1ce13daa /drivers/regulator/da9062-regulator.c | |
parent | 458ea3ad033fc86e291712ce50cbe60c3428cf30 (diff) | |
download | linux-089b3f61ecfc43ca4ea26d595e1d31ead6de3f7b.tar.xz |
regulator: core: Let boot-on regulators be powered off
Boot-on regulators are always kept on because their use_count value
is now incremented at boot time and never cleaned.
Only increment count value for alway-on regulators.
regulator_late_cleanup() is now able to power off boot-on regulators
when unused.
Fixes: 05f224ca6693 ("regulator: core: Clean enabling always-on regulators + their supplies")
Signed-off-by: Pascal Paillet <p.paillet@st.com>
Link: https://lore.kernel.org/r/20191113102737.27831-1-p.paillet@st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/da9062-regulator.c')
0 files changed, 0 insertions, 0 deletions