]> asedeno.scripts.mit.edu Git - linux.git/commit
media: go7007: fix a miss of snd_card_free
authorChuhong Yuan <hslester96@gmail.com>
Tue, 10 Dec 2019 03:15:48 +0000 (04:15 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 13 Dec 2019 08:30:20 +0000 (09:30 +0100)
commit9453264ef58638ce8976121ac44c07a3ef375983
tree50863a8b87ee2cf7ae8ea3ed6add5b6ca2052f1a
parentc7669435119f7b548bde3d4d093888a6c537e4e0
media: go7007: fix a miss of snd_card_free

go7007_snd_init() misses a snd_card_free() in an error path.
Add the missed call to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/go7007/snd-go7007.c