media: v4l2-ioctl.c: Simplify locking for m2m devices
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 18 Oct 2018 18:02:21 +0000 (14:02 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 23 Nov 2018 11:36:00 +0000 (06:36 -0500)
commit542a522d32efb613cfc929bdbf2c4160359167f9
treec7ef6159028d4cf3755e10262a57e56df6df3342
parent913f3ec280abddc111a49287a59b658b6b181c4c
media: v4l2-ioctl.c: Simplify locking for m2m devices

Now that the mutexes for output and capture vb2 queues match,
it is possible to refer to the context q_lock as the
m2m lock for a given m2m context.

Remove the output/capture lock selection.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-ioctl.c