public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Renzo Dani <arons7@gmail.com>
Cc: mchehab@infradead.org, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] Added GenesysLogic BW Microscope device id
Date: Sat, 21 Apr 2012 17:07:04 +0200	[thread overview]
Message-ID: <11816853.jz81JXdN3I@avalon> (raw)
In-Reply-To: <1334946523-14618-1-git-send-email-arons7@gmail.com>

Hi Renzo,

On Friday 20 April 2012 20:28:43 Renzo Dani wrote:
> From: Renzo Dani <arons7@gmail.com>
> 
> Signed-off-by: Renzo Dani <arons7@gmail.com>

Thank you for the patch.

> ---
>  drivers/media/video/uvc/uvc_driver.c |   11 ++++++++++-
>  1 files changed, 10 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/media/video/uvc/uvc_driver.c
> b/drivers/media/video/uvc/uvc_driver.c index 1d13172..b8c94b4 100644
> --- a/drivers/media/video/uvc/uvc_driver.c
> +++ b/drivers/media/video/uvc/uvc_driver.c
> @@ -2176,7 +2176,16 @@ static struct usb_device_id uvc_ids[] = {
>  	  .bInterfaceSubClass	= 1,
>  	  .bInterfaceProtocol	= 0,
>  	  .driver_info		= UVC_QUIRK_STREAM_NO_FID },
> -	/* Hercules Classic Silver */
> +	/* Genesys Logic USB 2.0 BW Microscope */
> +        { .match_flags          = USB_DEVICE_ID_MATCH_DEVICE
> +                                | USB_DEVICE_ID_MATCH_INT_INFO,
> +          .idVendor             = 0x05e3,
> +          .idProduct            = 0x0511,
> +          .bInterfaceClass      = USB_CLASS_VIDEO,
> +          .bInterfaceSubClass   = 1,
> +          .bInterfaceProtocol   = 0,

Please use tabs instead of space to indent the code. Running 
scripts/checkpatch.pl on the patch before sending it catches this kind of 
issues, it's thus a good practice to do so. As the patch is small I've fixed 
the issue myself, there's no need to resubmit it.

> +          .driver_info          = UVC_QUIRK_STREAM_NO_FID },

I suppose you have tested the device without this patch and that it didn't 
work. Could you please confirm that ? Could you please also send me the output 
of

lsusb -v -d 05e3:0511

> +        /* Hercules Classic Silver */
>  	{ .match_flags		= USB_DEVICE_ID_MATCH_DEVICE
> 
>  				| USB_DEVICE_ID_MATCH_INT_INFO,
> 
>  	  .idVendor		= 0x06f8,

-- 
Regards,

Laurent Pinchart


      reply	other threads:[~2012-04-21 19:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 18:28 [PATCH 1/1] Added GenesysLogic BW Microscope device id Renzo Dani
2012-04-21 15:07 ` Laurent Pinchart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11816853.jz81JXdN3I@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=arons7@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox