summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-05-28 19:51:11 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-06-11 22:04:56 +0300
commit893bae92237d824334d68d6b67222aaf32e41458 (patch)
treebd4fa9b9af1bb502fbd97d6a12fd2931b48d9c4f /scripts/gdb/linux/modules.py
parent28d5cc12671c8b23d928128d8d4ced586b873e5f (diff)
downloadlinux-893bae92237d824334d68d6b67222aaf32e41458.tar.xz
thermal: trip: Make thermal_zone_set_trips() use trip thresholds
Modify thermal_zone_set_trips() to use trip thresholds instead of computing the low temperature for each trip to avoid deriving both the high and low temperature levels from the same trip (which may happen if the zone temperature falls into the hysteresis range of one trip). Accordingly, make __thermal_zone_device_update() call thermal_zone_set_trips() later, when threshold values have been updated for all trips. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions