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:
Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Loading
Please register or sign in to comment