2022-08-04 12:03:45

by Jason Wang

[permalink] [raw]
Subject: [PATCH] media: uvcvideo: Fix comment typo

The double `the' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <[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 170a008f4006..d2eb9066e4dc 100644
--- a/drivers/media/usb/uvc/uvc_video.c
+++ b/drivers/media/usb/uvc/uvc_video.c
@@ -1095,7 +1095,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.35.1



2022-08-04 16:22:13

by Laurent Pinchart

[permalink] [raw]
Subject: Re: [PATCH] media: uvcvideo: Fix comment typo

Hi Jason,

An identical patch has already been posted to the linux-media mailing
list.

On Thu, Aug 04, 2022 at 07:56:20PM +0800, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[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 170a008f4006..d2eb9066e4dc 100644
> --- a/drivers/media/usb/uvc/uvc_video.c
> +++ b/drivers/media/usb/uvc/uvc_video.c
> @@ -1095,7 +1095,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