Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge back cpufreq fixes for v5.6.

+6 -2
+6 -2
drivers/cpufreq/cppc_cpufreq.c
··· 39 39 static struct cppc_cpudata **all_cpu_data; 40 40 41 41 struct cppc_workaround_oem_info { 42 - char oem_id[ACPI_OEM_ID_SIZE +1]; 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 - wa_info[i].oem_revision == tbl->oem_revision) 96 + wa_info[i].oem_revision == tbl->oem_revision) { 97 97 apply_hisi_workaround = true; 98 + break; 99 + } 98 100 } 101 + 102 + acpi_put_table(tbl); 99 103 } 100 104 101 105 /* Callback function used to retrieve the max frequency from DMI */