projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c740237
)
cpufreq: CPPC: put ACPI table after using it
author
Hanjun Guo
<guohanjun@huawei.com>
Tue, 24 Dec 2019 01:56:30 +0000
(09:56 +0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sun, 29 Dec 2019 21:17:26 +0000
(22:17 +0100)
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>
drivers/cpufreq/cppc_cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cppc_cpufreq.c
b/drivers/cpufreq/cppc_cpufreq.c
index
d0ca300
..
a06777c
100644
(file)
--- 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 */