diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2017-07-19 15:42:44 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-26 00:15:43 +0200 |
commit | b8b78825a2d9b423d5e7cc2943c07c3b8140941e (patch) | |
tree | c3f2eb360aa1425b58ea47c46d7a107effb05a1c /drivers/cpufreq/longrun.c | |
parent | aa7519af450d3c62a057aece24877c34562fa25a (diff) | |
download | blackbird-op-linux-b8b78825a2d9b423d5e7cc2943c07c3b8140941e.tar.gz blackbird-op-linux-b8b78825a2d9b423d5e7cc2943c07c3b8140941e.zip |
cpufreq: Don't set transition_latency for setpolicy drivers
The transition_latency field isn't used for drivers with ->setpolicy()
callback present and there is no point setting it from the drivers.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/longrun.c')
-rw-r--r-- | drivers/cpufreq/longrun.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/longrun.c b/drivers/cpufreq/longrun.c index 074971b12635..542aa9adba1a 100644 --- a/drivers/cpufreq/longrun.c +++ b/drivers/cpufreq/longrun.c @@ -270,7 +270,6 @@ static int longrun_cpu_init(struct cpufreq_policy *policy) /* cpuinfo and default policy values */ policy->cpuinfo.min_freq = longrun_low_freq; policy->cpuinfo.max_freq = longrun_high_freq; - policy->cpuinfo.transition_latency = CPUFREQ_ETERNAL; longrun_get_policy(policy); return 0; |