linux/drivers/hsi
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
..
clients hsi: clients: Change return type to vm_fault_t 2018-04-17 16:05:26 +02:00
controllers HSI: omap_ssi: Don't jump to free ID in ssi_add_controller() 2020-12-30 11:25:57 +01:00
hsi_boardinfo.c HSI: Use kcalloc() in hsi_register_board_info() 2017-06-08 13:21:43 +02:00
hsi_core.c HSI: core: Use kcalloc() in two functions 2017-06-08 13:21:43 +02:00
hsi_core.h
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00