2022-07-22 07:15:22

by Slark Xiao

[permalink] [raw]
Subject: [PATCH] media: uvc: Fix typo 'the the' in comment

Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <[email protected]>
---
drivers/media/usb/uvc/uvc_video.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c
index 6d3dfa4e0bb2..5aaee916045d 100644
--- a/drivers/media/usb/uvc/uvc_video.c
+++ b/drivers/media/usb/uvc/uvc_video.c
@@ -1077,7 +1077,7 @@ static int uvc_video_decode_start(struct uvc_streaming *stream,
}

/* Synchronize to the input stream by waiting for the FID bit to be
- * toggled when the the buffer state is not UVC_BUF_STATE_ACTIVE.
+ * toggled when the buffer state is not UVC_BUF_STATE_ACTIVE.
* stream->last_fid is initialized to -1, so the first isochronous
* frame will always be in sync.
*
--
2.25.1


2022-07-22 15:45:25

by Laurent Pinchart

[permalink] [raw]
Subject: Re: [PATCH] media: uvc: Fix typo 'the the' in comment

Hi Slark,

Thank you for the patch.

On Fri, Jul 22, 2022 at 03:13:43PM +0800, Slark Xiao wrote:
> Replace 'the the' with 'the' in the comment.
>
> Signed-off-by: Slark Xiao <[email protected]>

Reviewed-by: Laurent Pinchart <[email protected]>

> ---
> drivers/media/usb/uvc/uvc_video.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c
> index 6d3dfa4e0bb2..5aaee916045d 100644
> --- a/drivers/media/usb/uvc/uvc_video.c
> +++ b/drivers/media/usb/uvc/uvc_video.c
> @@ -1077,7 +1077,7 @@ static int uvc_video_decode_start(struct uvc_streaming *stream,
> }
>
> /* Synchronize to the input stream by waiting for the FID bit to be
> - * toggled when the the buffer state is not UVC_BUF_STATE_ACTIVE.
> + * toggled when the buffer state is not UVC_BUF_STATE_ACTIVE.
> * stream->last_fid is initialized to -1, so the first isochronous
> * frame will always be in sync.
> *

--
Regards,

Laurent Pinchart