Commit ecaa117c authored by Matt Wagantall's avatar Matt Wagantall Committed by David Collins
Browse files

msm: copper: Call regulator_has_full_constraints() at boot



Calling this function causes the regulator framework to, in a
late_initcall, disable all regulators which have a zero use count
and don't have an always_on constraint.

This has the potential to save power by making sure regulators
are not inadvertently left on, and helps to ensure drivers are
not relying on enabled regulators that they have not explicitly
enabled themselves.

Change-Id: I49c5c82d45b384bfb9afd141a3eab6ea0726cb4b
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent cf71887c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment