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

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

Merge "msm-core: Disable sensor threshold trip during suspend"

parents 444541cc c599f085
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -778,10 +778,10 @@ static int system_suspend_handler(struct notifier_block *nb,
			if (activity[cpu].sensor_id < 0)
				continue;

			sensor_cancel_trip(activity[cpu].sensor_id,
				&activity[cpu].hi_threshold);
			sensor_cancel_trip(activity[cpu].sensor_id,
				&activity[cpu].low_threshold);
			sensor_activate_trip(activity[cpu].sensor_id,
				&activity[cpu].hi_threshold, false);
			sensor_activate_trip(activity[cpu].sensor_id,
				&activity[cpu].low_threshold, false);
		}
		break;
	default: