diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-12-04 09:29:34 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-12 18:12:51 +0100 |
commit | 4397efebf039be58e98c81a194a26100eba597bb (patch) | |
tree | 5468b519314311023be5983c6b2df440136875e0 /drivers/staging | |
parent | d7a7d721064c548042b019cd0d4d62e0bb878d71 (diff) | |
download | linux-stable-4397efebf039be58e98c81a194a26100eba597bb.tar.gz linux-stable-4397efebf039be58e98c81a194a26100eba597bb.tar.bz2 linux-stable-4397efebf039be58e98c81a194a26100eba597bb.zip |
media: mtk-vcodec: fix error return code in vdec_vp9_decode()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: dea42fb79f4f ("media: mtk-vcodec: reset segment data then trig decoder")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions