linux/drivers/media/pci/solo6x10
Qinglang Miao dcdff74fa6 media: solo6x10: fix missing snd_card_free in error handling case
Fix to goto snd_error in error handling case when fails
to do snd_ctl_add, as done elsewhere in this function.

Fixes: 28cae868cd ("[media] solo6x10: move out of staging into drivers/media/pci.")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-17 07:13:45 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
solo6x10-core.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
solo6x10-disp.c media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-eeprom.c media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-enc.c media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-g723.c media: solo6x10: fix missing snd_card_free in error handling case 2020-11-17 07:13:45 +01:00
solo6x10-gpio.c media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-i2c.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
solo6x10-jpeg.h media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-offsets.h media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-p2m.c media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-regs.h media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-tw28.c media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-tw28.h media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-v4l2-enc.c media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10-v4l2.c media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00
solo6x10.h media: solo6x10: replace http references with https 2020-07-19 07:52:59 +02:00