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

Slark Xiao posted 1 patch 3 years, 8 months ago
drivers/media/usb/uvc/uvc_video.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] media: uvc: Fix typo 'the the' in comment
Posted by Slark Xiao 3 years, 8 months ago
Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
 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
Re: [PATCH] media: uvc: Fix typo 'the the' in comment
Posted by Laurent Pinchart 3 years, 8 months ago
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 <slark_xiao@163.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

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