dmaengine: acpi: Put the CSRT table after using it
authorHanjun Guo <guohanjun@huawei.com>
Wed, 22 Jul 2020 09:54:21 +0000 (17:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 11:55:32 +0000 (13:55 +0200)
commit36120307971e4a25d4571a0cbd25e1ba7711eee7
treebf3147f3cb32ea158c3c95ddb9546b78a1303482
parenta588a27d36f272917810b68403e54ccf449c1302
dmaengine: acpi: Put the CSRT table after using it

[ Upstream commit 7eb48dd094de5fe0e216b550e73aa85257903973 ]

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, put the CSRT table buf after using it.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Link: https://lore.kernel.org/r/1595411661-15936-1-git-send-email-guohanjun@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/acpi-dma.c