media: add V4L2_SUBDEV_CAP_STREAMS

Add a subdev capability flag to expose to userspace if a subdev supports
multiplexed streams.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
Tomi Valkeinen 2021-11-22 16:18:23 +01:00 committed by Mauro Carvalho Chehab
parent d6cc9c7c1a
commit 9a6b5bf4c1
2 changed files with 7 additions and 1 deletions

View file

@ -175,6 +175,9 @@ struct v4l2_subdev_capability {
/* The v4l2 sub-device video device node is registered in read-only mode. */
#define V4L2_SUBDEV_CAP_RO_SUBDEV 0x00000001
/* The v4l2 sub-device supports routing and multiplexed streams. */
#define V4L2_SUBDEV_CAP_STREAMS 0x00000002
/* Backwards compatibility define --- to be removed */
#define v4l2_subdev_edid v4l2_edid