Commit 9addf3b6 authored by Rafa Bilski's avatar Rafa Bilski Committed by Dave Jones

[CPUFREQ] Longhaul - Simplier minmult

Simple cleanup in code which is setting minmult.
Signed-off-by: default avatarRafal Bilski <rafalbilski@interia.pl>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent f0ec313a
...@@ -358,23 +358,16 @@ static int __init longhaul_get_ranges(void) ...@@ -358,23 +358,16 @@ static int __init longhaul_get_ranges(void)
* C3 is booting at max anyway. */ * C3 is booting at max anyway. */
maxmult = mult; maxmult = mult;
/* Get min multiplier */ /* Get min multiplier */
switch (longhaul_version) { switch (cpu_model) {
case TYPE_LONGHAUL_V1: case CPU_NEHEMIAH:
case TYPE_LONGHAUL_V2:
minmult = 30;
break;
case TYPE_POWERSAVER:
/* Ezra-T */
if (cpu_model == CPU_EZRA_T)
minmult = 30;
/* Nehemiah */
else if (cpu_model == CPU_NEHEMIAH)
minmult = 50; minmult = 50;
/* Nehemiah C */ break;
else if (cpu_model == CPU_NEHEMIAH_C) case CPU_NEHEMIAH_C:
minmult = 40; minmult = 40;
break; break;
default:
minmult = 30;
break;
} }
dprintk ("MinMult:%d.%dx MaxMult:%d.%dx\n", dprintk ("MinMult:%d.%dx MaxMult:%d.%dx\n",
......
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