]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
firmware: arm_ffa: Add missing rwlock_init() in ffa_setup_partitions()
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 8 Jan 2024 12:34:11 +0000 (12:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Feb 2024 00:21:19 +0000 (16:21 -0800)
commit895d16d6eb66d2f022455700ba8bb8bbb046d02b
tree283c287b4dd12e55404078eb1bc4e43fdc2a05eb
parent1e651b30824789076c3288438c5290b67a3b44d6
firmware: arm_ffa: Add missing rwlock_init() in ffa_setup_partitions()

[ Upstream commit 59b2e242b13192e50bf47df3780bf8a7e2260e98 ]

Add the missing rwlock initialization for the individual FF-A partition
information in ffa_setup_partitions().

Fixes: 0184450b8b1e ("firmware: arm_ffa: Add schedule receiver callback mechanism")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240108-ffa_fixes_6-8-v1-1-75bf7035bc50@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/arm_ffa/driver.c