mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (11143): gspca - t613: Bad sensor detection.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
fadadb7d7a
commit
3da37e42ba
|
@ -679,7 +679,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
|
|||
|
||||
sensor_id = (reg_r(gspca_dev, 0x06) << 8)
|
||||
| reg_r(gspca_dev, 0x07);
|
||||
switch (sensor_id) {
|
||||
switch (sensor_id & 0xff0f) {
|
||||
case 0x0801:
|
||||
PDEBUG(D_PROBE, "sensor tas5130a");
|
||||
sd->sensor = SENSOR_TAS5130A;
|
||||
|
|
Loading…
Reference in New Issue