diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-09-22 04:41:23 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-31 16:35:02 +0100 |
commit | 3835f9294998e0b1a1b90f7b9b2601c86afa9405 (patch) | |
tree | dfdfb36956e469b2f034abf7a632eec744424d09 /drivers/zorro | |
parent | 5d60d398148d00a6fc8f0e1844055be3441e1d01 (diff) | |
download | linux-stable-3835f9294998e0b1a1b90f7b9b2601c86afa9405.tar.gz linux-stable-3835f9294998e0b1a1b90f7b9b2601c86afa9405.tar.bz2 linux-stable-3835f9294998e0b1a1b90f7b9b2601c86afa9405.zip |
media: cx88: Fix some error handling path in 'cx8800_initdev()'
[ Upstream commit e1444e9b0424c70def6352580762d660af50e03f ]
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>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions