Commit 030ae337 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Powersaver also has voltage scaling abilities.

We currently don't do voltage scaling, but we can at least set things up
to prepare for when we do.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent a1db2e00
...@@ -546,7 +546,8 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy) ...@@ -546,7 +546,8 @@ static int __init longhaul_cpu_init(struct cpufreq_policy *policy)
if (ret != 0) if (ret != 0)
return ret; return ret;
if ((longhaul_version==TYPE_LONGHAUL_V2) && (dont_scale_voltage==0)) if ((longhaul_version==TYPE_LONGHAUL_V2 || longhaul_version==TYPE_POWERSAVER) &&
(dont_scale_voltage==0))
longhaul_setup_voltagescaling(); longhaul_setup_voltagescaling();
policy->governor = CPUFREQ_DEFAULT_GOVERNOR; policy->governor = CPUFREQ_DEFAULT_GOVERNOR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment