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

Commit abdfeab4 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi Committed by Gerrit - the friendly Code Review server
Browse files

drivers: thermal: Use correct last temperature during trip violation check



The of-thermal checks what all thermal zones trip is violated prior
to notifying framework to avoid unnecessary re-evaluation for zones
those are not triggered. During this check, it uses previous last
temperature value instead of last temperature. It may lead to
wrong trip check which in turn leads to mitigated state even though
temperature is cleared state.

Use correct last temperature during trip violation check.

Change-Id: Ic135aec67f11fb263c4ea2349b5ef3e859834f3e
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent bb9f138a
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