linux-loongson/drivers/media/common/siano
Yuan Can 734ac57e47 media: siano: Fix error handling in smsdvb_module_init()
The smsdvb_module_init() returns without checking the retval from
smscore_register_hotplug().
If the smscore_register_hotplug() failed, the module failed to install,
leaving the smsdvb_debugfs not unregistered.

Fixes: 3f6b87cff6 ("[media] siano: allow showing the complete statistics via debugfs")
Cc: stable@vger.kernel.org
Signed-off-by: Yuan Can <yuancan@huawei.com>
Acked-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2025-03-06 17:28:29 +01:00
..
Kconfig
Makefile
sms-cards.c media: siano: rename a duplicated card string 2020-10-02 14:25:12 +02:00
sms-cards.h
smscoreapi.c media: siano: Simplify smscore_load_firmware_from_file 2024-08-05 16:30:24 +02:00
smscoreapi.h media: siano: Remove unused declarations 2024-08-31 09:40:43 +02:00
smsdvb-debugfs.c media: siano: remove redundant null pointer checks in cec_devnode_init() 2024-10-12 16:28:25 +02:00
smsdvb-main.c media: siano: Fix error handling in smsdvb_module_init() 2025-03-06 17:28:29 +01:00
smsdvb.h
smsendian.c media: siano: Refactor struct sms_msg_data 2024-05-31 13:51:16 +02:00
smsendian.h
smsir.c media: rc: harmonize infrared durations to microseconds 2020-09-03 16:18:55 +02:00
smsir.h media: siano: Use the correct style for SPDX License Identifier 2019-11-10 17:46:45 +01:00