public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] media: uapi: Fix [GS]_ROUTING ACTIVE flag value
@ 2023-04-25 11:44 Sakari Ailus
  2023-04-26 12:10 ` Jacopo Mondi
  0 siblings, 1 reply; 2+ messages in thread
From: Sakari Ailus @ 2023-04-25 11:44 UTC (permalink / raw)
  To: linux-media; +Cc: jacopo.mondi

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(-)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] media: uapi: Fix [GS]_ROUTING ACTIVE flag value
  2023-04-25 11:44 [PATCH 1/1] media: uapi: Fix [GS]_ROUTING ACTIVE flag value Sakari Ailus
@ 2023-04-26 12:10 ` Jacopo Mondi
  0 siblings, 0 replies; 2+ messages in thread
From: Jacopo Mondi @ 2023-04-26 12:10 UTC (permalink / raw)
  To: Sakari Ailus; +Cc: linux-media, jacopo.mondi

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-26 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-25 11:44 [PATCH 1/1] media: uapi: Fix [GS]_ROUTING ACTIVE flag value Sakari Ailus
2023-04-26 12:10 ` Jacopo Mondi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox