[PATCH] media: Fix comment typo

Jason Wang posted 1 patch 3 years, 9 months ago
drivers/media/usb/tm6000/tm6000-cards.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] media: Fix comment typo
Posted by Jason Wang 3 years, 9 months ago
The double `the' is duplicated in line 1300, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/media/usb/tm6000/tm6000-cards.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/usb/tm6000/tm6000-cards.c b/drivers/media/usb/tm6000/tm6000-cards.c
index 98f4a63adc2a..b7842cd6f9af 100644
--- a/drivers/media/usb/tm6000/tm6000-cards.c
+++ b/drivers/media/usb/tm6000/tm6000-cards.c
@@ -1297,7 +1297,7 @@ static int tm6000_usb_probe(struct usb_interface *interface,
 		le16_to_cpu(dev->udev->descriptor.idProduct),
 		interface->altsetting->desc.bInterfaceNumber);
 
-/* check if the the device has the iso in endpoint at the correct place */
+/* check if the device has the iso in endpoint at the correct place */
 	if (!dev->isoc_in.endp) {
 		printk(KERN_ERR "tm6000: probing error: no IN ISOC endpoint!\n");
 		rc = -ENODEV;
-- 
2.35.1
Re: [PATCH] media: Fix comment typo
Posted by Hans Verkuil 3 years, 7 months ago
Duplicate of:

https://patchwork.linuxtv.org/project/linux-media/patch/20220722064105.70610-1-slark_xiao@163.com/

I'll drop this patch. BTW, same issue as before: the subject line suggests
a media-wide patch, when it is just for the tm6000 driver.

Regards,

	Hans

On 15/07/2022 07:15, Jason Wang wrote:
> The double `the' is duplicated in line 1300, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>  drivers/media/usb/tm6000/tm6000-cards.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/usb/tm6000/tm6000-cards.c b/drivers/media/usb/tm6000/tm6000-cards.c
> index 98f4a63adc2a..b7842cd6f9af 100644
> --- a/drivers/media/usb/tm6000/tm6000-cards.c
> +++ b/drivers/media/usb/tm6000/tm6000-cards.c
> @@ -1297,7 +1297,7 @@ static int tm6000_usb_probe(struct usb_interface *interface,
>  		le16_to_cpu(dev->udev->descriptor.idProduct),
>  		interface->altsetting->desc.bInterfaceNumber);
>  
> -/* check if the the device has the iso in endpoint at the correct place */
> +/* check if the device has the iso in endpoint at the correct place */
>  	if (!dev->isoc_in.endp) {
>  		printk(KERN_ERR "tm6000: probing error: no IN ISOC endpoint!\n");
>  		rc = -ENODEV;