Skip to content
Commit d497fcda authored by Zhang Changzhong's avatar Zhang Changzhong Committed by Mauro Carvalho Chehab
Browse files

media: aspeed: fix error return code in aspeed_video_setup_video()



Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: d2b4387f ("media: platform: Add Aspeed Video Engine driver")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 69c9e825
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment