diff options
author | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-08-14 11:56:32 +0200 |
---|---|---|
committer | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-08-14 11:56:32 +0200 |
commit | a701e8b02349206dd6c5b3a050bcf945091e1c38 (patch) | |
tree | d0555930436c8837192e3375df7ca9f4b6c333b1 /linux/drivers/media/video | |
parent | 5c78539069b4f258563e13e160393079e04a6d37 (diff) | |
download | mediapointer-dvb-s2-a701e8b02349206dd6c5b3a050bcf945091e1c38.tar.gz mediapointer-dvb-s2-a701e8b02349206dd6c5b3a050bcf945091e1c38.tar.bz2 |
gspca: mr97310a fix detection of sensortype for vivicam with id byte of 0x53
From: Hans de Goede <hdgoede@redhat.com>
gspca: mr97310a fix detection of sensortype for vivicam with id byte of 0x53
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/gspca/mr97310a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/mr97310a.c b/linux/drivers/media/video/gspca/mr97310a.c index 3a3edf82a..db2f84e63 100644 --- a/linux/drivers/media/video/gspca/mr97310a.c +++ b/linux/drivers/media/video/gspca/mr97310a.c @@ -447,7 +447,8 @@ static int start_cif_cam(struct gspca_dev *gspca_dev) * Elta-Media 8212dc 0x23 T. Kaiser 1 * Philips dig. keych. 0x37 T. Kilgore 1 */ - if ((data[0] & 0x78) == 8 || (data[0] & 0x2) == 0x2) + if ((data[0] & 0x78) == 8 || + ((data[0] & 0x2) == 0x2 && data[0] != 0x53)) sd->sensor_type = 1; PDEBUG(D_ERR, "Sensor type is %01x", sd->sensor_type); |