android_kernel_sony_sdm845/drivers/hsi/controllers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yuan Can 7f43b9a984 HSI: omap_ssi_core: Fix error handling in ssi_init()
[ Upstream commit 3ffa9f713c39a213a08d9ff13ab983a8aa5d8b5d ]

The ssi_init() returns the platform_driver_register() directly without
checking its return value, if platform_driver_register() failed, the
ssi_pdriver is not unregistered.
Fix by unregister ssi_pdriver when the last platform_driver_register()
failed.

Fixes: 0fae198988 ("HSI: omap_ssi: built omap_ssi and omap_ssi_port into one module")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-07 12:07:27 +01:00
..
Kconfig HSI: omap-ssi: add COMMON_CLK dependency 2016-05-09 22:45:18 +02:00
Makefile HSI: omap_ssi: built omap_ssi and omap_ssi_port into one module 2016-05-02 21:56:21 +02:00
omap_ssi.h HSI: omap_ssi: call msg->complete() from process context 2016-06-28 00:40:00 +02:00
omap_ssi_core.c HSI: omap_ssi_core: Fix error handling in ssi_init() 2023-01-07 12:07:27 +01:00
omap_ssi_port.c HSI: omap_ssi_port: Fix dma_map_sg error check 2022-10-26 13:15:42 +02:00
omap_ssi_regs.h