android_kernel_samsung_sm8650/drivers/media
Christophe JAILLET 2db7760422 media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe()
[ Upstream commit 5b2f885e2f6f482d05c23f04c8240f7b4fc5bdb5 ]

If an error occurs after a successful i2c_mux_add_adapter(), then
i2c_mux_del_adapters() should be called to free some resources, as
already done in the remove function.

Fixes: e6089feca4 ("media: m88ds3103: Add support for ds3103b demod")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 15:27:35 -08:00
..
cec media: cec: meson: always include meson sub-directory in Makefile 2023-11-20 11:52:15 +01:00
common media: vb2: frame_vector.c: replace WARN_ONCE with a comment 2023-10-06 14:56:56 +02:00
dvb-core media: dvbdev: drop refcount on error path in dvb_device_open() 2024-01-25 15:27:35 -08:00
dvb-frontends media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe() 2024-01-25 15:27:35 -08:00
firewire
i2c media: ccs: Correctly initialise try compose rectangle 2023-11-28 17:07:19 +00:00
mc media: mc: Get media_device directly from pad 2023-03-10 09:33:42 +01:00
mmc
pci media: cobalt: Use FIELD_GET() to extract Link Width 2023-11-28 17:07:02 +00:00
platform media: rkisp1: Fix media device memory leak 2024-01-25 15:27:34 -08:00
radio media: radio-shark: Add endpoint checks 2023-05-30 14:03:20 +01:00
rc media: sharp: fix sharp encoding 2023-11-28 17:07:19 +00:00
spi
test-drivers media: vivid: avoid integer overflow 2023-11-28 17:07:02 +00:00
tuners media: tuners: qt1010: replace BUG_ON with a regular error 2023-09-23 11:11:06 +02:00
usb media: cx231xx: fix a memleak in cx231xx_init_isoc 2024-01-25 15:27:34 -08:00
v4l2-core media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link() 2023-09-13 09:42:49 +02:00
Kconfig media: remove reference to CONFIG_EMBEDDED in MEDIA_SUPPORT_FILTER 2022-09-08 18:19:29 +02:00
Makefile