Commit d30f9834 authored by Serge Schneider's avatar Serge Schneider Committed by Phil Elwell
Browse files

drivers: thermal: step_wise: avoid throttling at hysteresis temperature after dropping below it

parent 3e4671e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -167,7 +167,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);
		}