提交 36dc3805 编写于 作者: H Hanjun Guo 提交者: Yang Yingliang

cpufreq: CPPC: put ACPI table after using it

mainline inclusion
from mainline-v5.6-rc1
commit 80e8b1e5
category: bugfix
bugzilla: NA
CVE: NA

--------------------------------

Put the ACPI table to release the table mapping after using it
successfully.
Signed-off-by: NHanjun Guo <guohanjun@huawei.com>
[ rjw: Subject & changelog ]
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 7343d0f6
......@@ -102,6 +102,8 @@ static void cppc_check_hisi_workaround(void)
break;
}
}
acpi_put_table(tbl);
}
/* Callback function used to retrieve the max frequency from DMI */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册