linux/drivers/hsi/controllers
Jing Xiangfeng f71a4021c9 HSI: omap_ssi: Don't jump to free ID in ssi_add_controller()
[ Upstream commit 41fff6e19b ]

In current code, it jumps to ida_simple_remove() when ida_simple_get()
failes to allocate an ID. Just return to fix it.

Fixes: 0fae198988 ("HSI: omap_ssi: built omap_ssi and omap_ssi_port into one module")
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:25:57 +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_core.c HSI: omap_ssi: Don't jump to free ID in ssi_add_controller() 2020-12-30 11:25:57 +01:00
omap_ssi_port.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
omap_ssi_regs.h
omap_ssi.h HSI: omap_ssi: call msg->complete() from process context 2016-06-28 00:40:00 +02:00