aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/zc3xx.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-02-19 13:41:28 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:53 -0400
commite2d750fcef6dd15afdf327c56156d85085eb4978 (patch)
tree5937c966551abff16ec68b45e6eef59e3d3edd33 /drivers/media/video/gspca/zc3xx.c
parent603538a085e42c02b9b3184b6104d73e22a7e5d1 (diff)
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 <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/zc3xx.c')
-rw-r--r--drivers/media/video/gspca/zc3xx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index fb9b122ac61d..4f459a746037 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,
7141 PDEBUG(D_PROBE, "Find Sensor OV7620"); 7141 PDEBUG(D_PROBE, "Find Sensor OV7620");
7142 sd->sensor = SENSOR_OV7620; 7142 sd->sensor = SENSOR_OV7620;
7143 break; 7143 break;
7144 case 0x7631:
7145 PDEBUG(D_PROBE, "Find Sensor OV7630C");
7146 sd->sensor = SENSOR_OV7630C;
7147 break;
7144 case 0x7648: 7148 case 0x7648:
7145 PDEBUG(D_PROBE, "Find Sensor OV7648"); 7149 PDEBUG(D_PROBE, "Find Sensor OV7648");
7146 sd->sensor = SENSOR_OV7620; /* same sensor (?) */ 7150 sd->sensor = SENSOR_OV7620; /* same sensor (?) */