Revert "drivers: cpufreq: Import Xiaomi changes"
This reverts commit f23ac5e487.
Change-Id: Ic509ab5af077928397832b36fed1eab8232cd7b7
This commit is contained in:
@@ -2266,6 +2266,10 @@ static int cpufreq_set_policy(struct cpufreq_policy *policy,
|
||||
blocking_notifier_call_chain(&cpufreq_policy_notifier_list,
|
||||
CPUFREQ_ADJUST, new_policy);
|
||||
|
||||
/* adjust if necessary - hardware incompatibility */
|
||||
blocking_notifier_call_chain(&cpufreq_policy_notifier_list,
|
||||
CPUFREQ_INCOMPATIBLE, new_policy);
|
||||
|
||||
/*
|
||||
* verify the cpu speed can be set within this limit, which might be
|
||||
* different to the first one
|
||||
|
||||
@@ -151,8 +151,6 @@ static unsigned long limits_mitigation_notify(struct cpufreq_qcom *c,
|
||||
freq = policy->cpuinfo.max_freq;
|
||||
}
|
||||
|
||||
freq = U32_MAX; //Fix me! This is WA here!
|
||||
|
||||
sched_update_cpu_freq_min_max(&c->related_cpus, 0, freq);
|
||||
trace_dcvsh_freq(cpumask_first(&c->related_cpus), freq);
|
||||
c->dcvsh_freq_limit = freq;
|
||||
|
||||
Reference in New Issue
Block a user