cpufreq: CPPC: put ACPI table after using it
Put the ACPI table to release the table mapping after using it successfully. Signed-off-by: Hanjun Guo <guohanjun@huawei.com> [ rjw: Subject & changelog ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
c740237937
commit
80e8b1e59f
|
@ -98,6 +98,8 @@ static void cppc_check_hisi_workaround(void)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
acpi_put_table(tbl);
|
||||
}
|
||||
|
||||
/* Callback function used to retrieve the max frequency from DMI */
|
||||
|
|
Loading…
Reference in New Issue