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

Skip to content
Commit cff71486 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: smblite: Fix restoring the ICL in the thermal-regulation-loop



Avoid decrementing ICL twice when we are above _UB threshold.
Also, increment back the ICL only when DIE_STATUS is 0 i.e when
we are below the _LB threshold.

Change-Id: I58027cb94500cf93eb42b44dcec9a5e68670b5e1
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 5537f3dc
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