Skip to content

Commit 80e8b1e

Browse files
guohanjunrafaeljw
authored andcommitted
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>
1 parent c740237 commit 80e8b1e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/cpufreq/cppc_cpufreq.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ static void cppc_check_hisi_workaround(void)
9898
break;
9999
}
100100
}
101+
102+
acpi_put_table(tbl);
101103
}
102104

103105
/* Callback function used to retrieve the max frequency from DMI */

0 commit comments

Comments
 (0)