Message ID | 20230425114456.109482-1-sakari.ailus@linux.intel.com |
---|---|
State | Accepted |
Commit | 950e9a295b984b011bcbfb90af167e4e20a077f3 |
Headers | show |
Series | [1/1] media: uapi: Fix [GS]_ROUTING ACTIVE flag value | expand |
Indeed! On Tue, Apr 25, 2023 at 02:44:56PM +0300, Sakari Ailus wrote: > The value of the V4L2_SUBDEV_ROUTE_FL_ACTIVE is 1, not 0. Use hexadecimal > numbers as is done elsewhere in the documentation. > > Fixes: ea73eda50813 ("media: Documentation: Add GS_ROUTING documentation") > Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Thanks j > --- > .../userspace-api/media/v4l/vidioc-subdev-g-routing.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst > index 68ca343c3b44a..2d6e3bbdd0404 100644 > --- a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst > +++ b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst > @@ -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 > -- > 2.30.2 >
diff --git a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst index 68ca343c3b44a..2d6e3bbdd0404 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-subdev-g-routing.rst @@ -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
The value of the V4L2_SUBDEV_ROUTE_FL_ACTIVE is 1, not 0. Use hexadecimal numbers as is done elsewhere in the documentation. Fixes: ea73eda50813 ("media: Documentation: Add GS_ROUTING documentation") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> --- .../userspace-api/media/v4l/vidioc-subdev-g-routing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)