media: v4l: subdev: Fix typo in documentation

Message ID 20240619225343.15873-1-laurent.pinchart@ideasonboard.com (mailing list archive)
State Accepted
Headers
Series media: v4l: subdev: Fix typo in documentation |

Commit Message

Laurent Pinchart June 19, 2024, 10:53 p.m. UTC
  Replace the incorrect reference to the v4l2_subdev_enable_stream()
function with the correct v4l2_subdev_enable_streams() spelling.

Fixes: d0749adb3070 ("media: v4l2-subdev: Add subdev .(enable|disable)_streams() operations")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 include/media/v4l2-subdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tomi Valkeinen June 20, 2024, 6:33 a.m. UTC | #1
On 20/06/2024 01:53, Laurent Pinchart wrote:
> Replace the incorrect reference to the v4l2_subdev_enable_stream()
> function with the correct v4l2_subdev_enable_streams() spelling.
> 
> Fixes: d0749adb3070 ("media: v4l2-subdev: Add subdev .(enable|disable)_streams() operations")
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
>   include/media/v4l2-subdev.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
> index e30c463d90e5..4ccea9ddb455 100644
> --- a/include/media/v4l2-subdev.h
> +++ b/include/media/v4l2-subdev.h
> @@ -681,7 +681,7 @@ struct v4l2_subdev_pad_config {
>    *
>    * @pad: pad number
>    * @stream: stream number
> - * @enabled: has the stream been enabled with v4l2_subdev_enable_stream()
> + * @enabled: has the stream been enabled with v4l2_subdev_enable_streams()
>    * @fmt: &struct v4l2_mbus_framefmt
>    * @crop: &struct v4l2_rect to be used for crop
>    * @compose: &struct v4l2_rect to be used for compose

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>

  Tomi
  

Patch

diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index e30c463d90e5..4ccea9ddb455 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -681,7 +681,7 @@  struct v4l2_subdev_pad_config {
  *
  * @pad: pad number
  * @stream: stream number
- * @enabled: has the stream been enabled with v4l2_subdev_enable_stream()
+ * @enabled: has the stream been enabled with v4l2_subdev_enable_streams()
  * @fmt: &struct v4l2_mbus_framefmt
  * @crop: &struct v4l2_rect to be used for crop
  * @compose: &struct v4l2_rect to be used for compose