Commit cd2eba09 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Fix misnaming of VIA Samuel2 CPUs.

670 -> 677 = Samuel 2
678 -> 67f = Ezra
parent 4618e6d4
...@@ -387,7 +387,10 @@ static int longhaul_cpu_init (struct cpufreq_policy *policy) ...@@ -387,7 +387,10 @@ static int longhaul_cpu_init (struct cpufreq_policy *policy)
memcpy (eblcr_table, samuel2_eblcr, sizeof(samuel2_eblcr)); memcpy (eblcr_table, samuel2_eblcr, sizeof(samuel2_eblcr));
break; break;
case 1 ... 15: case 1 ... 15:
cpuname = "C3 'Ezra' [C5C]"; if (c->x86_mask < 8)
cpuname = "C3 'Samuel 2' [C5B]";
else
cpuname = "C3 'Ezra' [C5C]";
longhaul_version=2; longhaul_version=2;
memcpy (clock_ratio, ezra_clock_ratio, sizeof(ezra_clock_ratio)); memcpy (clock_ratio, ezra_clock_ratio, sizeof(ezra_clock_ratio));
memcpy (eblcr_table, ezra_eblcr, sizeof(ezra_eblcr)); memcpy (eblcr_table, ezra_eblcr, sizeof(ezra_eblcr));
......
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