Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5e22b26 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: thermal: Update the hysteresis logic in governors"

parents 9de99f76 14f93181
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip)

		if ((tz->temperature <= trip_temp) ||
			(instance->target != THERMAL_NO_TARGET
				&& tz->temperature <= trip_hyst))
				&& tz->temperature < trip_hyst))
			throttle = true;
		else
			throttle = false;
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip)
		 * temperature.
		 */
		if (tz->temperature >= trip_temp ||
			(tz->temperature >= hyst_temp &&
			(tz->temperature > hyst_temp &&
			 old_target != THERMAL_NO_TARGET))
			throttle = true;
		else