[media] v4l2-device.h: add v4l2_device_mask_ variants
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 3 Apr 2016 20:44:16 +0000 (17:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 Apr 2016 19:08:42 +0000 (16:08 -0300)
commit96655553e5f9af6a8d908386685b7c865a138283
tree81c4587c0f0afd612672cfe064de15ccc35879ca
parentbae4c757a5255a149249294dab3a6ab16e5d598b
[media] v4l2-device.h: add v4l2_device_mask_ variants

The v4l2_device_call_* defines filter subdevs based on the grp_id value.
But some drivers use a bitmask, so instead of filtering by grp_id == value,
you want to filter by grp_id & value.

Make variants of these defines to do this.

The 'has_op' define has been extended to have a grp_id argument as well, and
a mask variant has been added.

This extra argument required a change to go7007.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/go7007/go7007-v4l2.c
include/media/v4l2-device.h
This page took 0.041961 seconds and 5 git commands to generate.