mailbox: pcc: Put the PCCT table for error path
authorHanjun Guo <guohanjun@huawei.com>
Wed, 22 Jul 2020 09:40:40 +0000 (17:40 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 4 Aug 2020 04:25:19 +0000 (23:25 -0500)
commit425ab036754af08bb0dc8273efad686484c98f3c
tree1a952a7c1649eb85e49e7eed217103328b563406
parentc3917df54cf925754e74e48748493ac5f232a2f1
mailbox: pcc: Put the PCCT table for error path

The acpi_get_table() should be coupled with acpi_put_table() if
the mapped table is not used at runtime to release the table
mapping.

In acpi_pcc_probe(), the PCCT table entries will be used as private
data for communication chan at runtime, but the table should be put
for error path.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/pcc.c