linux-uconsole/drivers/media/pci
Christophe JAILLET 3835f92949 media: cx88: Fix some error handling path in 'cx8800_initdev()'
[ Upstream commit e1444e9b04 ]

A call to 'pci_disable_device()' is missing in the error handling path.
In some cases, a call to 'free_irq()' may also be missing.

Reorder the error handling path, add some new labels and fix the 2 issues
mentionned above.

This way, the error handling path in more in line with 'cx8800_finidev()'
(i.e. the remove function)

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-31 16:35:02 +01:00
..
b2c2
bt8xx
cobalt
cx18 media: cx18: Don't check for address of video_dev 2019-11-24 08:20:40 +01:00
cx88 media: cx88: Fix some error handling path in 'cx8800_initdev()' 2019-12-31 16:35:02 +01:00
cx23885
cx25821
ddbridge
dm1105
dt3155
intel
ivtv media: pci: ivtv: Fix a sleep-in-atomic-context bug in ivtv_yuv_init() 2019-11-20 18:47:16 +01:00
mantis
meye media: fix: media: pci: meye: validate offset to avoid arbitrary access 2019-11-20 18:46:33 +01:00
netup_unidvb
ngene
pluto2
pt1
pt3
saa7134 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate() 2019-10-05 13:09:49 +02:00
saa7146 media: saa7146: add cleanup in hexium_attach() 2019-10-05 13:09:49 +02:00
saa7164 media: saa7164: fix remove_proc_entry warning 2019-07-26 09:14:02 +02:00
smipcie
solo6x10
sta2x11
ttpci
tw68
tw686x
tw5864
Kconfig
Makefile