mirror of
https://github.com/commaai/agnos-kernel-sdm845.git
synced 2026-06-08 03:15:12 +08:00
Reapply "CPU freq governor, don't use freq above 1689600" (#75)
This reverts commit 8caff2d541.
This commit is contained in:
@@ -43,6 +43,7 @@ int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy,
|
||||
|
||||
cpufreq_for_each_valid_entry(pos, table) {
|
||||
freq = pos->frequency;
|
||||
if (freq > 1689600) continue;
|
||||
|
||||
if (!cpufreq_boost_enabled()
|
||||
&& (pos->flags & CPUFREQ_BOOST_FREQ))
|
||||
|
||||
Reference in New Issue
Block a user