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

Commit 394fa5f5 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: hyp_core_ctl: Fix conditional statement boundries"

parents 193610b4 01811812
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -595,7 +595,7 @@ static int hyp_core_ctl_hp_offline(unsigned int cpu)
	 * isolated by us. An offline CPU is considered
	 * as reserved. So no further action is needed.
	 */
	if (cpumask_test_and_clear_cpu(cpu, &the_hcd->our_isolated_cpus))
	if (cpumask_test_and_clear_cpu(cpu, &the_hcd->our_isolated_cpus)) {
		sched_unisolate_cpu_unlocked(cpu);
		qos_req = &per_cpu(qos_min_req, cpu);
		ret = freq_qos_update_request(qos_req,
@@ -603,6 +603,7 @@ static int hyp_core_ctl_hp_offline(unsigned int cpu)
		if (ret < 0)
			pr_err("fail to update min freq for CPU%d ret=%d\n",
								cpu, ret);
	}

	return 0;
}