Skip to content
Commit f36592e7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mauro Carvalho Chehab
Browse files

media: vicodec: Fix error codes in probe function



If these functions fail then we return success, but we should instead
preserve negative error code and return that.

Fixes: fde649b4 ("media: vicodec: Register another node for stateless decoder")
Fixes: c022a4a9 ("media: vicodec: add struct for encoder/decoder instance")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent d00c9761
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