diff options
author | Hans de Goede <hdgoede@redhat.com> | 2009-08-14 05:56:32 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 11:19:54 -0400 |
commit | 58d0b2f66e2495429bc7c4e7c8b0f02fe4a7c260 (patch) | |
tree | bbfb6343a19544838f63397a312bcc62ce9595f5 /drivers/media | |
parent | 89f0863c4225aaed2763f526815c54a9e1b0f788 (diff) |
V4L/DVB (12619): gspca: mr97310a fix detection of sensortype for vivicam with id byte of 0x53
gspca: mr97310a fix detection of sensortype for vivicam with id byte of 0x53
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/mr97310a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/mr97310a.c b/drivers/media/video/gspca/mr97310a.c index 3a3edf82a361..db2f84e635c5 100644 --- a/drivers/media/video/gspca/mr97310a.c +++ b/drivers/media/video/gspca/mr97310a.c | |||
@@ -447,7 +447,8 @@ static int start_cif_cam(struct gspca_dev *gspca_dev) | |||
447 | * Elta-Media 8212dc 0x23 T. Kaiser 1 | 447 | * Elta-Media 8212dc 0x23 T. Kaiser 1 |
448 | * Philips dig. keych. 0x37 T. Kilgore 1 | 448 | * Philips dig. keych. 0x37 T. Kilgore 1 |
449 | */ | 449 | */ |
450 | if ((data[0] & 0x78) == 8 || (data[0] & 0x2) == 0x2) | 450 | if ((data[0] & 0x78) == 8 || |
451 | ((data[0] & 0x2) == 0x2 && data[0] != 0x53)) | ||
451 | sd->sensor_type = 1; | 452 | sd->sensor_type = 1; |
452 | 453 | ||
453 | PDEBUG(D_ERR, "Sensor type is %01x", sd->sensor_type); | 454 | PDEBUG(D_ERR, "Sensor type is %01x", sd->sensor_type); |