mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
[CPUFREQ] Longhaul - Simplier minmult
Simple cleanup in code which is setting minmult. Signed-off-by: Rafal Bilski <rafalbilski@interia.pl> Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
f0ec313a89
commit
9addf3b638
1 changed files with 8 additions and 15 deletions
|
@ -358,23 +358,16 @@ static int __init longhaul_get_ranges(void)
|
|||
* C3 is booting at max anyway. */
|
||||
maxmult = mult;
|
||||
/* Get min multiplier */
|
||||
switch (longhaul_version) {
|
||||
case TYPE_LONGHAUL_V1:
|
||||
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)
|
||||
switch (cpu_model) {
|
||||
case CPU_NEHEMIAH:
|
||||
minmult = 50;
|
||||
/* Nehemiah C */
|
||||
else if (cpu_model == CPU_NEHEMIAH_C)
|
||||
break;
|
||||
case CPU_NEHEMIAH_C:
|
||||
minmult = 40;
|
||||
break;
|
||||
default:
|
||||
minmult = 30;
|
||||
break;
|
||||
}
|
||||
|
||||
dprintk ("MinMult:%d.%dx MaxMult:%d.%dx\n",
|
||||
|
|
Loading…
Reference in a new issue