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

Skip to content
Commit b0363191 authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

drivers: thermal: Update the set_trips for hysteresis change



User space thermal daemon can change the hysteresis value for a trip
threshold dynamically. In those cases the hysteresis store routine
calls thermal_zone_set_trips only when the set_temp_hyst call fails. For
sensors using of-thermal interface and setting thresholds using set_trips,
will never get the new hysteresis value, as of-thermal will return
success for set_temp_hyst callback.

Update the hysteresis store callback to call thermal_zone_set_trips
function when there is a new hysteresis value from user space.

Change-Id: I513086e3823098e208c1843d5a38fe6c111a902c
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent b03f130b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment