linux_dsm_epyc7002/drivers/media/pci/saa7134
Dinghao Liu 172e30ea38 media: media/pci: Fix memleak in empress_init
[ Upstream commit 15d0c52241ecb1c9d802506bff6f5c3f7872c0df ]

When vb2_queue_init() fails, dev->empress_dev
should be released just like other error handling
paths.

Fixes: 2ada815fc4 ("[media] saa7134: convert to vb2")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:37:40 +01:00
..
Kconfig Revert "media: Kconfig: better support hybrid TV devices" 2020-04-14 11:00:30 +02:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00
saa7134-alsa.c media: pci: fix common ALSA DMA-mapping related codes 2020-09-26 10:34:44 +02:00
saa7134-cards.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
saa7134-core.c media: saa7134: use generic power management 2020-09-26 10:55:34 +02:00
saa7134-dvb.c media: saa7134: keep demod i2c gate closed on Medion 7134 2019-08-26 10:45:19 -03:00
saa7134-empress.c media: media/pci: Fix memleak in empress_init 2021-03-04 11:37:40 +01:00
saa7134-go7007.c media: media/pci: use vb2_video_unregister_device() 2020-08-28 15:01:54 +02:00
saa7134-i2c.c media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate() 2019-08-26 10:45:49 -03:00
saa7134-input.c media: pci: saa7134: convert to use i2c_new_client_device() 2020-04-14 11:29:10 +02:00
saa7134-reg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
saa7134-ts.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
saa7134-tvaudio.c media: saa7134: avoid a shift overflow 2020-09-03 11:16:13 +02:00
saa7134-vbi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
saa7134-video.c media: media/pci: use vb2_video_unregister_device() 2020-08-28 15:01:54 +02:00
saa7134.h media: saa7134-alsa.c: number of pages should be unsigned long 2020-09-03 11:13:46 +02:00