aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ioctl.c
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2018-10-18 14:02:20 -0400
committerMauro Carvalho Chehab <[email protected]>2018-11-23 06:35:21 -0500
commit913f3ec280abddc111a49287a59b658b6b181c4c (patch)
tree8d0235f97e46dc95104b55c524ddd4743de2cd00 /drivers/media/v4l2-core/v4l2-ioctl.c
parentfe5a2bbb6333e7dc9202eb6a1c574d356a528de6 (diff)
media: mem2mem: Require capture and output mutexes to match
Currently, all the mem2mem driver either use a single mutex to lock the capture and output videobuf2 queues, or don't set any mutex. This means the mutexes match, and so the mem2mem framework is able to set the m2m context lock. Enforce this by making it mandatory for drivers to set the same capture and output mutex, or not set any mutex at all. Signed-off-by: Ezequiel Garcia <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions