summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-03-22 20:29:36 +0100
committerJean-Francois Moine <moinejf@free.fr>2009-03-22 20:29:36 +0100
commit738f0a744e7ac46dabf075a1f1a0e707ad74e207 (patch)
treed094d06c9d4b89b22080dd57bd5f67f550fc0bfe /linux/drivers/media/video/gspca
parenta20d311c162fb0c2c6d5fc499852211e8936054d (diff)
downloadmediapointer-dvb-s2-738f0a744e7ac46dabf075a1f1a0e707ad74e207.tar.gz
mediapointer-dvb-s2-738f0a744e7ac46dabf075a1f1a0e707ad74e207.tar.bz2
gspca - t613: Bad sensor detection.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r--linux/drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/t613.c b/linux/drivers/media/video/gspca/t613.c
index f60a4c21a..0a39646b2 100644
--- a/linux/drivers/media/video/gspca/t613.c
+++ b/linux/drivers/media/video/gspca/t613.c
@@ -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;