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

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

Merge "drivers: cpu_cooling: vote thermal limit on CPUFREQ_INCOMPATIBLE event"

parents 6fa591d3 3edb5ea8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -339,7 +339,7 @@ static int cpufreq_thermal_notifier(struct notifier_block *nb,
	unsigned long clipped_freq = ULONG_MAX, floor_freq = 0;
	struct cpufreq_cooling_device *cpufreq_dev;

	if (event != CPUFREQ_ADJUST)
	if (event != CPUFREQ_INCOMPATIBLE)
		return NOTIFY_DONE;

	mutex_lock(&cooling_list_lock);