diff options
author | Hanjun Guo <guohanjun@huawei.com> | 2019-12-24 09:56:30 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-12-29 22:17:26 +0100 |
commit | 80e8b1e59f0399b94a6088bcb9477bd798cc5eba (patch) | |
tree | a3940d2537f278da5e029338fede2a73905a021d /drivers | |
parent | c740237937c039c06e9cda32b9a37dde8b0d1e63 (diff) | |
download | linux-80e8b1e59f0399b94a6088bcb9477bd798cc5eba.tar.gz linux-80e8b1e59f0399b94a6088bcb9477bd798cc5eba.tar.bz2 linux-80e8b1e59f0399b94a6088bcb9477bd798cc5eba.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cpufreq/cppc_cpufreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c index d0ca3007b4f2..a06777c35fc0 100644 --- a/drivers/cpufreq/cppc_cpufreq.c +++ b/drivers/cpufreq/cppc_cpufreq.c @@ -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 */ |