]> git.ipfire.org Git - people/arne_f/kernel.git/commit
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>
Wed, 23 Sep 2020 08:46:26 +0000 (10:46 +0200)
commit6e5f3c2a27865946563d9f81fa2e4f8856ade01d
tree8f0c9fc71c54e3690db8656ee864f23065bd4ab3
parenta2ab9046c7c1dc44bb160fe9626852d271c4bba1
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