From patchwork Mon Dec 13 13:03:45 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jean-Francois Moine X-Patchwork-Id: 5038 Return-path: Envelope-to: mchehab@gaivota Delivery-date: Mon, 13 Dec 2010 11:03:10 -0200 Received: from mchehab by gaivota with local (Exim 4.72) (envelope-from ) id 1PS83Z-0007Wk-U8 for mchehab@gaivota; Mon, 13 Dec 2010 11:03:10 -0200 Received: from casper.infradead.org [85.118.1.10] by gaivota with IMAP (fetchmail-6.3.17) for (single-drop); Mon, 13 Dec 2010 11:03:09 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PS82E-0006Am-Lz; Mon, 13 Dec 2010 13:01:47 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757545Ab0LMNBp (ORCPT + 1 other); Mon, 13 Dec 2010 08:01:45 -0500 Received: from smtp5-g21.free.fr ([212.27.42.5]:35482 "EHLO smtp5-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757498Ab0LMNBp convert rfc822-to-8bit (ORCPT ); Mon, 13 Dec 2010 08:01:45 -0500 Received: from tele (unknown [82.245.201.222]) by smtp5-g21.free.fr (Postfix) with ESMTP id 36AFDD481B4; Mon, 13 Dec 2010 14:01:38 +0100 (CET) Date: Mon, 13 Dec 2010 14:03:45 +0100 From: Jean-Francois Moine To: Linux Media Mailing List , Mauro Carvalho Chehab Subject: [PATCH 4/6] gspca - sonixj: Set the flag for some devices Message-ID: <20101213140345.55f40fb9@tele> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab The flag PDN_INV indicates that the sensor pin S_PWR_DN has not the same value as other webcams with the same sensor. For now, only two webcams have been detected so: the Microsoft's VX1000 and VX3000. Signed-off-by: Jean-François Moine diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index bd5858e..9b7e28a 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c @@ -2962,8 +2962,8 @@ static const __devinitdata struct usb_device_id device_table[] = { {USB_DEVICE(0x0458, 0x7025), BS(SN9C120, MI0360)}, {USB_DEVICE(0x0458, 0x702e), BS(SN9C120, OV7660)}, #endif - {USB_DEVICE(0x045e, 0x00f5), BS(SN9C105, OV7660)}, - {USB_DEVICE(0x045e, 0x00f7), BS(SN9C105, OV7660)}, + {USB_DEVICE(0x045e, 0x00f5), BSF(SN9C105, OV7660, PDN_INV)}, + {USB_DEVICE(0x045e, 0x00f7), BSF(SN9C105, OV7660, PDN_INV)}, {USB_DEVICE(0x0471, 0x0327), BS(SN9C105, MI0360)}, {USB_DEVICE(0x0471, 0x0328), BS(SN9C105, MI0360)}, {USB_DEVICE(0x0471, 0x0330), BS(SN9C105, MI0360)},