]> git.baikalelectronics.ru Git - kernel.git/commit
media: cedrus: Add missing v4l2_ctrl_request_hdl_put()
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 13 Aug 2020 19:18:33 +0000 (21:18 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 27 Aug 2020 07:30:20 +0000 (09:30 +0200)
commit193e7fb57b54312dd7a1c5ee8b7ac889b04b5288
tree4200f2413258919debf92ef3e262c51f927b10fb
parent551090d8dfd129b85cd333a6288658dd10e1169d
media: cedrus: Add missing v4l2_ctrl_request_hdl_put()

The check for a required control in the request was missing a call to
v4l2_ctrl_request_hdl_put() in the error path. Fix it.

Fixes: 42a3db540da22c ("media: platform: Add Cedrus VPU decoder driver")
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/sunxi/cedrus/cedrus.c