linux/drivers/cdx
Dan Carpenter 92c5466b44 cdx: Unlock on error path in rescan_store()
[ Upstream commit 1960932eef ]

We added locking to this function but these two error paths were
accidentally overlooked.

Fixes: f0af816834 ("cdx: Introduce lock to protect controller ops")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Abhijit Gangurde <abhijit.gangurde@amd.com>
Link: https://lore.kernel.org/r/a7994b47-6f78-4e2c-a30a-ee5995d428ec@moroto.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-01-25 15:45:25 -08:00
..
controller Char/Misc and other driver changes for 6.7-rc1 2023-11-03 14:51:08 -10:00
cdx.c cdx: Unlock on error path in rescan_store() 2024-01-25 15:45:25 -08:00
cdx.h cdx: add sysfs for subsystem, class and revision 2023-10-27 13:23:24 +02:00
Kconfig cdx: add MCDI protocol interface for firmware interaction 2023-03-29 12:26:32 +02:00
Makefile cdx: Create symbol namespaces for cdx subsystem 2023-10-27 13:23:24 +02:00