From: Jean-Francois Moine Date: Thu, 19 Feb 2009 18:41:28 +0000 (-0300) Subject: V4L/DVB (10681): gspca - zc3xx: Bad probe of the ov7630c sensor. X-Git-Tag: v2.6.30-rc1~621^2~449 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2d750fcef6dd15afdf327c56156d85085eb4978;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git V4L/DVB (10681): gspca - zc3xx: Bad probe of the ov7630c sensor. This patch fixes an other bug of the kernel bug report 12737. Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c index fb9b122..4f459a7 100644 --- a/drivers/media/video/gspca/zc3xx.c +++ b/drivers/media/video/gspca/zc3xx.c @@ -7141,6 +7141,10 @@ static int sd_config(struct gspca_dev *gspca_dev, PDEBUG(D_PROBE, "Find Sensor OV7620"); sd->sensor = SENSOR_OV7620; break; + case 0x7631: + PDEBUG(D_PROBE, "Find Sensor OV7630C"); + sd->sensor = SENSOR_OV7630C; + break; case 0x7648: PDEBUG(D_PROBE, "Find Sensor OV7648"); sd->sensor = SENSOR_OV7620; /* same sensor (?) */