]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
firmware: arm_scmi: Drop OF node reference in the transport channel setup
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 19 Jul 2023 06:16:52 +0000 (08:16 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 30 Oct 2023 10:59:56 +0000 (11:59 +0100)
commit6ef49a3a2bd42d1a851367c5f6ad93848c74d071
tree7965ece5735718b3f78f68a65f8efffc33c58631
parent4605155afd7ceb31a31a1b38cb093d204f3042e2
firmware: arm_scmi: Drop OF node reference in the transport channel setup

BugLink: https://bugs.launchpad.net/bugs/2038236
commit da042eb4f061a0b54aedadcaa15391490c48e1ad upstream.

The OF node reference obtained from of_parse_phandle() should be dropped
if node is not compatible with arm,scmi-shmem.

Fixes: 507cd4d2c5eb ("firmware: arm_scmi: Add compatibility checks for shmem node")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20230719061652.8850-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/firmware/arm_scmi/mailbox.c
drivers/firmware/arm_scmi/smc.c