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

Skip to content
Commit 40f107b9 authored by Ram Chandrasekar's avatar Ram Chandrasekar Committed by Vikram Mulukutla
Browse files

drivers: thermal: step-wise: Optimize mitigation request evaluation



When evaluating a thermal instance which doesn't have any previous
mitigation request and if there is no new mitigation request step wise
algorithm will still evaluate the new request. This can cause the
algorithm to trigger a false mitigation, based on the temperature trend.

Avoid evaluating the mitigation request if there is no previous and new
mitigation request for a thermal instance.

Change-Id: I056aa0640bed5f296828bfceda44204d01e93064
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 7529b53b
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