From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: linux-media@vger.kernel.org, tomi.valkeinen@ideasonboard.com,
Alain Volmat <alain.volmat@foss.st.com>,
Benjamin Mugnier <benjamin.mugnier@foss.st.com>,
hverkuil@xs4all.nl
Subject: Re: [PATCH v3 3/3] media: Documentation: Improve v4l2_subdev_{en,dis}able_streams documentation
Date: Thu, 26 Sep 2024 00:47:28 +0300 [thread overview]
Message-ID: <20240925214728.GB11070@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20240920073503.22536-4-sakari.ailus@linux.intel.com>
Hi Sakari,
Thank you for the patch.
On Fri, Sep 20, 2024 at 10:35:03AM +0300, Sakari Ailus wrote:
> Document that callers of v4l2_subdev_{en,dis}able_streams() need to set
> the mask to BIT_ULL(0).
>
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> include/media/v4l2-subdev.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
> index ff63fb6046b1..2f2200875b03 100644
> --- a/include/media/v4l2-subdev.h
> +++ b/include/media/v4l2-subdev.h
> @@ -1685,6 +1685,8 @@ int v4l2_subdev_routing_validate(struct v4l2_subdev *sd,
> * function implements a best-effort compatibility by calling the .s_stream()
> * operation, limited to subdevs that have a single source pad.
> *
> + * Drivers that are not stream-aware shall set @streams_mask to BIT_ULL(0).
> + *
> * Return:
> * * 0: Success
> * * -EALREADY: One of the streams in streams_mask is already enabled
> @@ -1715,6 +1717,8 @@ int v4l2_subdev_enable_streams(struct v4l2_subdev *sd, u32 pad,
> * function implements a best-effort compatibility by calling the .s_stream()
> * operation, limited to subdevs that have a single source pad.
> *
> + * Drivers that are not stream-aware shall set @streams_mask to BIT_ULL(0).
> + *
> * Return:
> * * 0: Success
> * * -EALREADY: One of the streams in streams_mask is not enabled
--
Regards,
Laurent Pinchart
prev parent reply other threads:[~2024-09-25 21:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-20 7:35 [PATCH v3 0/3] Update streaming related documentation Sakari Ailus
2024-09-20 7:35 ` [PATCH v3 1/3] media: Documentation: Deprecate s_stream video op, update docs Sakari Ailus
2024-09-20 7:35 ` [PATCH v3 2/3] media: Documentation: Update {enable,disable}_streams documentation Sakari Ailus
2024-09-25 21:46 ` Laurent Pinchart
2024-10-07 11:03 ` Sakari Ailus
2024-09-20 7:35 ` [PATCH v3 3/3] media: Documentation: Improve v4l2_subdev_{en,dis}able_streams documentation Sakari Ailus
2024-09-25 21:47 ` Laurent Pinchart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240925214728.GB11070@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=alain.volmat@foss.st.com \
--cc=benjamin.mugnier@foss.st.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=tomi.valkeinen@ideasonboard.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox