commit | fb3b597abdcec889876669e5dea2a80ea0ddbdd0 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Tue Mar 23 12:28:55 2021 +0100 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Tue Apr 06 10:30:25 2021 +0200 |
tree | 1f323ef7eb0f60f48679c9e23273be201b838087 | |
parent | b98fc6b6c0cc72ee8eda406a13967f91a135e834 [diff] |
media: imx-jpeg: Fix error return code in mxc_jpeg_probe() Fix to return negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 2db16c6ed72c ("media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>