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

Commit d3e82a5a authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "core_ctl: Bail out early from the boost API when core_ctl is disabled" into msm-4.9

parents 25955944 d198dde6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -653,6 +653,9 @@ int core_ctl_set_boost(bool boost)
	int ret = 0;
	bool boost_state_changed = false;

	if (unlikely(!initialized))
		return 0;

	spin_lock_irqsave(&state_lock, flags);
	for_each_cluster(cluster, index) {
		if (cluster->is_big_cluster) {