Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0c2dd4ef authored by David Collins's avatar David Collins Committed by Stephen Boyd
Browse files

msm: cpr-regulator: Enable CPR after both voltage and enable state are set



Change the cpr-regulator driver so that RBCPR hardware is only
enabled after consumers have called both regulator_set_voltage()
and regulator_enable().  Currently, RBCPR is enabled as soon as
a voltage (corner) is specified.  Unfortunately, the physical
regulator voltage does not change until regulator_enable() is
also called.  This leads to the RBCPR hardware recommending that
the voltage be stepped up even though it shouldn't be.

Change-Id: I9c545245e41cdd813cc3425ef789c8bff13898fa
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 48417270
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment