tangled
alpha
login
or
join now
tjh.dev
/
kernel
1
fork
atom
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge back cpufreq fixes for v5.6.
Rafael J. Wysocki
6 years ago
2c7a8bd6
c936069f
+6
-2
1 changed file
expand all
collapse all
unified
split
drivers
cpufreq
cppc_cpufreq.c
+6
-2
drivers/cpufreq/cppc_cpufreq.c
reviewed
···
39
39
static struct cppc_cpudata **all_cpu_data;
40
40
41
41
struct cppc_workaround_oem_info {
42
42
-
char oem_id[ACPI_OEM_ID_SIZE +1];
42
42
+
char oem_id[ACPI_OEM_ID_SIZE + 1];
43
43
char oem_table_id[ACPI_OEM_TABLE_ID_SIZE + 1];
44
44
u32 oem_revision;
45
45
};
···
93
93
for (i = 0; i < ARRAY_SIZE(wa_info); i++) {
94
94
if (!memcmp(wa_info[i].oem_id, tbl->oem_id, ACPI_OEM_ID_SIZE) &&
95
95
!memcmp(wa_info[i].oem_table_id, tbl->oem_table_id, ACPI_OEM_TABLE_ID_SIZE) &&
96
96
-
wa_info[i].oem_revision == tbl->oem_revision)
96
96
+
wa_info[i].oem_revision == tbl->oem_revision) {
97
97
apply_hisi_workaround = true;
98
98
+
break;
99
99
+
}
98
100
}
101
101
+
102
102
+
acpi_put_table(tbl);
99
103
}
100
104
101
105
/* Callback function used to retrieve the max frequency from DMI */