projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22aef0e
)
drivers: thermal: step_wise: avoid throttling at hysteresis temperature after droppin...
author
Serge Schneider
<serge@raspberrypi.org>
Tue, 2 Oct 2018 10:14:15 +0000
(11:14 +0100)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 21 Mar 2022 16:03:52 +0000
(16:03 +0000)
Signed-off-by: Serge Schneider <serge@raspberrypi.org>
drivers/thermal/gov_step_wise.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/gov_step_wise.c
b/drivers/thermal/gov_step_wise.c
index
9c8d615
..
629f02f
100644
(file)
--- a/
drivers/thermal/gov_step_wise.c
+++ b/
drivers/thermal/gov_step_wise.c
@@
-153,7
+153,7
@@
static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip)
*/
if (tz->temperature >= trip_temp ||
(tz->temperature >= hyst_temp &&
- old_target
!= THERMAL_NO_TARGET
)) {
+ old_target
== instance->upper
)) {
throttle = true;
trace_thermal_zone_trip(tz, trip, trip_type);
}