Skip to content
Commit dcdff74f authored by Qinglang Miao's avatar Qinglang Miao Committed by Mauro Carvalho Chehab
Browse files

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: 28cae868 ("[media] solo6x10: move out of staging into drivers/media/pci.")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarQinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 23ffa039
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment