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:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment