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

Commit 2184e4fd authored by Shiju Mathew's avatar Shiju Mathew Committed by Gerrit - the friendly Code Review server
Browse files

power: bcl: Update to fix BCL frequency mitigation



This patch will fix an issue where the frequency
mitigation was not removed when BCL mitigation
conditions are lifted.

Change-Id: Ibddd492bef8e4382cb5e91cf2d1a871f6cfb237d
Signed-off-by: default avatarShiju Mathew <shijum@codeaurora.org>
parent b9e32abd
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -281,11 +281,11 @@ static int bcl_cpufreq_callback(struct notifier_block *nfb,
			max_freq = (gbcl->bcl_monitor_type
				== BCL_IBAT_MONITOR_TYPE) ? gbcl->btm_freq_max
				: gbcl->bcl_p_freq_max;
			pr_debug("Requesting Max freq:%d for CPU%d\n",
		}
		pr_debug("Requesting Max freq:%u for CPU%d\n",
			max_freq, policy->cpu);
		cpufreq_verify_within_limits(policy, 0,
			max_freq);
		}
		break;
	}