]> git.baikalelectronics.ru Git - 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)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Aug 2020 04:51:37 +0000 (10:21 +0530)
commitbb65f1b8fa80df08474400f1a3e70925901315ba
tree6fcb404edfbf28ce8b6b5abdb5b3d1014828dc93
parentdd44bddf04c5fd83529b139fbfac0a5372c1a87d
dmaengine: acpi: Put the CSRT table after using it

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>
drivers/dma/acpi-dma.c