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

Skip to content
Commit da40c6fb authored by Jennifer Liu's avatar Jennifer Liu Committed by Stephen Boyd
Browse files

msm: thermal: Fix a couple of issue for vdd restriction



1.Change curr_level type to int32_t to support negative level for
disabling vdd restriction
2.Fix vdd_rstr_reg_value_show() to print the correct value.
3.Update vdd_restriction_apply_voltage() and
vdd_restriction_apply_frequency() to change the level only when it's
different from cur_level.
4.Update vdd_restriction_apply_all() to set vdd_rstr_en.enabled
based on the enable counts.
5.Fix multiline comment format.

Change-Id: Ibc4e61ec8b5ce68c5e2a02a1e31e8d8c6ad78b54
Signed-off-by: default avatarJennifer Liu <chihning@codeaurora.org>
parent ae8ef36d
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