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

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

Merge "msm: thermal: Optimize locking in thermal frequency mitigation thread"

parents 34f5b3f4 3ee05b63
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3443,7 +3443,6 @@ static __ref int do_freq_mitigation(void *data)
			;
		reinit_completion(&freq_mitigation_complete);

		get_online_cpus();
		for_each_possible_cpu(cpu) {
			max_freq_req = (cpus[cpu].max_freq) ?
					msm_thermal_info.freq_limit :
@@ -3513,7 +3512,6 @@ reset_threshold:
			}
		}
		update_cluster_freq();
		put_online_cpus();
	}
	return ret;
}