summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2019-12-24 09:56:30 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-12-29 22:17:26 +0100
commit80e8b1e59f0399b94a6088bcb9477bd798cc5eba (patch)
treea3940d2537f278da5e029338fede2a73905a021d /drivers/cpufreq
parentc740237937c039c06e9cda32b9a37dde8b0d1e63 (diff)
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/cpufreq')
-rw-r--r--drivers/cpufreq/cppc_cpufreq.c2
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 */