summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2018-06-04 13:22:28 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-05 15:50:48 +0200
commit5983d3bca5282b6785473434894933fa908ef693 (patch)
tree7123fe5e6fcb1306b1f839c1da5475c3937af56d /crypto
parentmedia: pxa_camera: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power (diff)
downloadlinux-5983d3bca5282b6785473434894933fa908ef693.tar.xz
linux-5983d3bca5282b6785473434894933fa908ef693.zip
media: v4l2-ioctl.c: fix missing unlock in __video_do_ioctl()
If dev_debug was active, then the code could return without unlocking the core mutex. Replace the return with a 'goto unlock' to ensure proper unlocking. Fixes: 73a110623e7b ("v4l2-core: push taking ioctl mutex down to ioctl handler") Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions