OSDN Git Service

firmware: arm_sdei: Put the SDEI table after using it
authorHanjun Guo <guohanjun@huawei.com>
Tue, 19 May 2020 18:21:06 +0000 (19:21 +0100)
committerWill Deacon <will@kernel.org>
Wed, 20 May 2020 08:36:01 +0000 (09:36 +0100)
commit70e6352aefb18e6158f334af2e0291f133562b62
tree0f3c1c652ddc059f389e57c9f5388c51272873c8
parentcaf2cd610dbbfb533c8b84255fbe77dca36229d0
firmware: arm_sdei: Put the SDEI table after using it

The acpi_get_table() should be coupled with acpi_put_table() if
the mapped table is not used for runtime after the initialization
to release the table mapping, put the SDEI table after using it.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: James Morse <james.morse@arm.com>
Link: https://lore.kernel.org/linux-arm-kernel/1589021566-46373-1-git-send-email-guohanjun@huawei.com/
Link: https://lore.kernel.org/r/20200519182108.13693-2-james.morse@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/firmware/arm_sdei.c