Skip to content

Commit b8b10bc

Browse files
vireshkrafaeljw
authored andcommitted
cpufreq: CPPC: Don't set transition_latency
Now that the driver has started to set transition_delay_us directly, there is no need to set transition_latency along with it, as it is not used by the cpufreq core. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 44a264e commit b8b10bc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/cpufreq/cppc_cpufreq.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy)
162162
cpu->perf_caps.highest_perf;
163163
policy->cpuinfo.max_freq = cppc_dmi_max_khz;
164164

165-
policy->cpuinfo.transition_latency = cppc_get_transition_latency(cpu_num);
166165
policy->transition_delay_us = cppc_get_transition_latency(cpu_num) /
167166
NSEC_PER_USEC;
168167
policy->shared_type = cpu->shared_type;

0 commit comments

Comments
 (0)