Loading
media: usb: go7007: s2250-board: fix leak in probe()
stable inclusion from stable-v4.19.238 commit b7dd177225355da55f8d80d8e568928e0eec3608 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBP72W CVE: CVE-2022-49253 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b7dd177225355da55f8d80d8e568928e0eec3608 -------------------------------- [ Upstream commit 67e4550e ] Call i2c_unregister_device(audio) on this error path. Fixes: d3b2ccd9 ("[media] s2250: convert to the control framework") Signed-off-by:Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Hongbo Li <lihongbo22@huawei.com>