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

V4L/DVB (11143): gspca - t613: Bad sensor detection.

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent fadadb7d
...@@ -679,7 +679,7 @@ static int sd_init(struct gspca_dev *gspca_dev) ...@@ -679,7 +679,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
sensor_id = (reg_r(gspca_dev, 0x06) << 8) sensor_id = (reg_r(gspca_dev, 0x06) << 8)
| reg_r(gspca_dev, 0x07); | reg_r(gspca_dev, 0x07);
switch (sensor_id) { switch (sensor_id & 0xff0f) {
case 0x0801: case 0x0801:
PDEBUG(D_PROBE, "sensor tas5130a"); PDEBUG(D_PROBE, "sensor tas5130a");
sd->sensor = SENSOR_TAS5130A; sd->sensor = SENSOR_TAS5130A;
......
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