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

Skip to content
Commit c379a963 authored by Ram Chandrasekar's avatar Ram Chandrasekar Committed by Manaf Meethalavalappu Pallikunhi
Browse files

drivers: thermal: Evaluate based on trip temperature



With virtual sensors, temperature reads by different zones at different
time can be different and hence can result in different set of
thresholds. This can lead to a case where we can get interrupt for the
same temperature back to back if the temperature is fluctuating.

To avoid this, allow sensor drivers to read the temperature and provide
that information along when notifying for trip notification. Thermal
framework will now make sure all the thermal zones will use the same
temperature in all thermal zones to evaluate.

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