summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_debugfs.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-10 20:03:10 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-24 21:42:10 +0300
commitc1beda1cfca53363ad3261c194df6cba4198f021 (patch)
tree5a61dd6210cc31225e69e03306ae62561664abd0 /drivers/thermal/thermal_debugfs.c
parentc98e24795e8b53ff68b317ed31ddcc37cf8b6a26 (diff)
downloadlinux-c1beda1cfca53363ad3261c194df6cba4198f021.tar.xz
thermal: gov_user_space: Use .trip_crossed() instead of .throttle()
Notifying user space about trip points that have not been crossed is not particularly useful, so modify the User Space governor to use the .trip_crossed() callback, which is only invoked for trips that have been crossed, instead of .throttle() that is invoked for all trips in a thermal zone every time the zone is updated. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal/thermal_debugfs.c')
0 files changed, 0 insertions, 0 deletions