Skip to content

Commit fd7ccfb

Browse files
Sakari AilusHans Verkuil
authored andcommitted
media: Documentation: v4l: Fix ACTIVE route flag
The documentation in one occasion mentions the VIDIOC_SUBDEV_STREAM_FL_ACTIVE flag. This was meant to be V4L2_SUBDEV_STREAM_FL_ACTIVE as it's a flag, not an IOCTL. Fix it. Fixes: cd2c754 ("media: Documentation: Document S_ROUTING behaviour") Reported-by: Samuel Wein PhD <sam@samwein.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
1 parent 825fc49 commit fd7ccfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/userspace-api/media/v4l/dev-subdev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ depending on the hardware. In all cases, however, only routes that have the
582582
Devices generating the streams may allow enabling and disabling some of the
583583
routes or have a fixed routing configuration. If the routes can be disabled, not
584584
declaring the routes (or declaring them without
585-
``VIDIOC_SUBDEV_STREAM_FL_ACTIVE`` flag set) in ``VIDIOC_SUBDEV_S_ROUTING`` will
585+
``V4L2_SUBDEV_STREAM_FL_ACTIVE`` flag set) in ``VIDIOC_SUBDEV_S_ROUTING`` will
586586
disable the routes. ``VIDIOC_SUBDEV_S_ROUTING`` will still return such routes
587587
back to the user in the routes array, with the ``V4L2_SUBDEV_STREAM_FL_ACTIVE``
588588
flag unset.

0 commit comments

Comments
 (0)