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

Commit 11f90a2b 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: Check cpu variables are initialized before setting threshold"

parents 7274525d 52f0e079
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4865,7 +4865,7 @@ static ssize_t __ref store_cc_enabled(struct kobject *kobj,
		hotplug_init_cpu_offlined();
		mutex_lock(&core_control_mutex);
		update_offline_cores(cpus_offlined);
		if (hotplug_enabled) {
		if (hotplug_enabled && hotplug_task) {
			for_each_possible_cpu(cpu) {
				if (!(msm_thermal_info.core_control_mask &
					BIT(cpus[cpu].cpu)))