WSL2-Linux-Kernel/drivers/media/usb/go7007
Dan Carpenter 895364fa97 media: usb: go7007: s2250-board: fix leak in probe()
[ Upstream commit 67e4550ecd ]

Call i2c_unregister_device(audio) on this error path.

Fixes: d3b2ccd9e3 ("[media] s2250: convert to the control framework")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:23:17 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00
go7007-driver.c media: go7007: remove redundant initialization 2021-07-22 14:01:54 +02:00
go7007-fw.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
go7007-i2c.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
go7007-loader.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
go7007-priv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
go7007-usb.c media: go7007: fix memory leak in go7007_usb_probe 2021-07-22 14:01:54 +02:00
go7007-v4l2.c media: media/usb: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:53:16 +01:00
s2250-board.c media: usb: go7007: s2250-board: fix leak in probe() 2022-04-08 14:23:17 +02:00
snd-go7007.c media: Drop superfluous ioctl PCM ops 2019-12-13 09:33:22 +01:00