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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Sep 2020 17:14:18 +0000 (19:14 +0200)
commitb3b321d44175f8b9b942d3cbee827bcf84ce7bd6
treedc18c539f630e9e2fa4e1ab56f50d35581f168e5
parent60e9f3f036f340e7bcc181526788f5945151ae0f
media: cedrus: Add missing v4l2_ctrl_request_hdl_put()

[ Upstream commit b30063976f29fc221a99d18d37d22ca035068aa9 ]

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: 50e761516f2b8c ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/media/sunxi/cedrus/cedrus.c