Home
last modified time | relevance | path

Searched hist:ee3e64d1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/dvb-frontends/
H A Dm88ds3103.cee3e64d1 Mon Oct 30 02:20:26 CDT 2023 Christophe JAILLET <christophe.jaillet@wanadoo.fr> 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: e6089feca460 ("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>