]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging/imx: Missing assignment in imx_media_capture_device_register()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Feb 2020 07:35:46 +0000 (08:35 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 24 Feb 2020 16:53:22 +0000 (17:53 +0100)
commitd43ea40acbfee559e0b20ca31229e233b827bfc2
tree9f3dd574371ba3dbe22bdd64d5c2fdc19ab7234f
parentec15103435e2f16bf3a10d282d157094daaba278
media: staging/imx: Missing assignment in imx_media_capture_device_register()

There was supposed to be a "ret = " assignment here, otherwise the
error handling on the next line won't work.

Fixes: 500ad231991b ("[media] media: imx: Add Capture Device Interface")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx-media-capture.c