Commit e2d750fc authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab

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: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 603538a0
...@@ -7141,6 +7141,10 @@ static int sd_config(struct gspca_dev *gspca_dev, ...@@ -7141,6 +7141,10 @@ static int sd_config(struct gspca_dev *gspca_dev,
PDEBUG(D_PROBE, "Find Sensor OV7620"); PDEBUG(D_PROBE, "Find Sensor OV7620");
sd->sensor = SENSOR_OV7620; sd->sensor = SENSOR_OV7620;
break; break;
case 0x7631:
PDEBUG(D_PROBE, "Find Sensor OV7630C");
sd->sensor = SENSOR_OV7630C;
break;
case 0x7648: case 0x7648:
PDEBUG(D_PROBE, "Find Sensor OV7648"); PDEBUG(D_PROBE, "Find Sensor OV7648");
sd->sensor = SENSOR_OV7620; /* same sensor (?) */ sd->sensor = SENSOR_OV7620; /* same sensor (?) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment