mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
Revert "ANDROID: cpufreq: arch_topology: implement max frequency capping"
This reverts commit 1bf760e97d.
We want to back-out the eas-dev merge that happened in the tree after
5.3-rc1 as those patches "should" all be in Linus's tree now.
This is done to handle the merge conflicts with 5.4-rc1.
Cc: Todd Kjos <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: Id2e5decdfcfe8ba3fb150ef74f2315070cf13e9d
This commit is contained in:
parent
6ab09372b7
commit
625ebc8a71
4 changed files with 1 additions and 42 deletions
|
|
@ -153,12 +153,6 @@ __weak void arch_set_freq_scale(struct cpumask *cpus, unsigned long cur_freq,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(arch_set_freq_scale);
|
||||
|
||||
__weak void arch_set_max_freq_scale(struct cpumask *cpus,
|
||||
unsigned long policy_max_freq)
|
||||
{
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(arch_set_max_freq_scale);
|
||||
|
||||
/*
|
||||
* This is a generic cpufreq init() routine which can be used by cpufreq
|
||||
* drivers of SMP systems. It will do following:
|
||||
|
|
@ -2422,8 +2416,6 @@ int cpufreq_set_policy(struct cpufreq_policy *policy,
|
|||
policy->max = new_policy->max;
|
||||
trace_cpu_frequency_limits(policy);
|
||||
|
||||
arch_set_max_freq_scale(policy->cpus, policy->max);
|
||||
|
||||
policy->cached_target_freq = UINT_MAX;
|
||||
|
||||
pr_debug("new min and max freqs are %u - %u kHz\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue