linux-yocto/drivers/greybus
Wentao Liang 6f774f82a7 greybus: gb-beagleplay: Add error handling for gb_greybus_init
[ Upstream commit be382372d5 ]

Add error handling for the gb_greybus_init(bg) function call
during the firmware reflash process to maintain consistency
in error handling throughout the codebase. If initialization
fails, log an error and return FW_UPLOAD_ERR_RW_ERROR.

Fixes: 0cf7befa3e ("greybus: gb-beagleplay: Add firmware upload API")
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Reviewed-by: Ayush Singh <ayush@beagleboard.org>
Link: https://lore.kernel.org/r/20250120140547.1460-1-vulab@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:39:22 +02:00
..
arpc.h
bundle.c greybus: constify the struct device_type usage 2024-03-06 14:13:10 +00:00
connection.c
control.c greybus: constify the struct device_type usage 2024-03-06 14:13:10 +00:00
core.c Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
debugfs.c
es2.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
gb-beagleplay.c greybus: gb-beagleplay: Add error handling for gb_greybus_init 2025-04-10 14:39:22 +02:00
greybus_trace.h
hd.c greybus: Remove usage of the deprecated ida_simple_xx() API 2024-03-07 21:41:38 +00:00
interface.c greybus: Fix use-after-free bug in gb_interface_release due to race condition. 2024-05-04 18:59:41 +02:00
Kconfig greybus: gb-beagleplay: Add firmware upload API 2024-09-12 09:04:09 +02:00
Makefile
manifest.c
module.c greybus: constify the struct device_type usage 2024-03-06 14:13:10 +00:00
operation.c
svc_watchdog.c
svc.c greybus: constify the struct device_type usage 2024-03-06 14:13:10 +00:00