firmware: arm_ffa: Handle partitions setup failures
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 8 Jan 2024 12:34:16 +0000 (12:34 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 22 Jan 2024 10:07:12 +0000 (10:07 +0000)
commit0c565d16b80074e57e3e56240d13fc6cd6ed0334
tree71fd896ebf5ea7b0d2fc781cf4742e5effb5e33b
parentace760d9c0498fb226269ed34f0e86417d90f91b
firmware: arm_ffa: Handle partitions setup failures

Make ffa_setup_partitions() fail, cleanup and return an error when the Host
partition setup fails: in such a case ffa_init() itself will fail.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240108-ffa_fixes_6-8-v1-6-75bf7035bc50@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c