Skip to contentSkip to conversation

media: uapi: Fix [GS]_ROUTING ACTIVE flag value

git:media_stage/master Hans Verkuil 1 participant 1 message May 25, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This is an automatic generated email to let you know that the following patch were queued:

Subject: media: uapi: Fix [GS]_ROUTING ACTIVE flag value
Author:  Sakari Ailus <[email protected]>
Date:    Mon Apr 24 15:22:37 2023 +0300

The value of the V4L2_SUBDEV_ROUTE_FL_ACTIVE is 1, not 0. Use hexadecimal numbers as is done elsewhere in the documentation.

Cc [email protected] # for >= v6.3
Fixes ea73eda50813 ("media: Documentation: Add GS_ROUTING documentation")
 Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst +1 -1
index 68ca343c3b44..2d6e3bbdd040 100644
@@ -122,7 +122,7 @@ for all the route entries and call ``VIDIOC_SUBDEV_G_ROUTING`` again.
     :widths:       3 1 4
 
     * - V4L2_SUBDEV_ROUTE_FL_ACTIVE
-      - 0
+      - 0x0001
       - The route is enabled. Set by applications.
 
 Return Value