diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-04-10 20:03:10 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-04-24 21:42:10 +0300 |
commit | c1beda1cfca53363ad3261c194df6cba4198f021 (patch) | |
tree | 5a61dd6210cc31225e69e03306ae62561664abd0 /drivers/thermal/broadcom/sr-thermal.c | |
parent | c98e24795e8b53ff68b317ed31ddcc37cf8b6a26 (diff) | |
download | linux-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/broadcom/sr-thermal.c')
0 files changed, 0 insertions, 0 deletions