]> git.baikalelectronics.ru Git - kernel.git/commit
media: vicodec: add missing v4l2_ctrl_request_hdl_put()
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 12 Aug 2020 10:30:33 +0000 (12:30 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 27 Aug 2020 07:30:20 +0000 (09:30 +0200)
commit551090d8dfd129b85cd333a6288658dd10e1169d
tree8d24db91708053164d5992b8d7c30332bff872b0
parent75dc11d9171df2572917ac3ac6572fd5fe192549
media: vicodec: 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(), so the control request object was never
released.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: b5ba249867c8 ("media: vicodec: Add support for stateless decoder.")
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vicodec/vicodec-core.c