aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/t613.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-03-22 15:29:36 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:32 -0400
commit3da37e42baa8bd5953899ac078e36c97ba172e42 (patch)
tree080c5acc9f35a712f9d16a1f91284e4f13b8b692 /drivers/media/video/gspca/t613.c
parentfadadb7d7ad1d6c09863fcf24f83e59f596201ed (diff)
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>
Diffstat (limited to 'drivers/media/video/gspca/t613.c')
-rw-r--r--drivers/media/video/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index 353931023ac8..9f312441092e 100644
--- a/drivers/media/video/gspca/t613.c
+++ b/drivers/media/video/gspca/t613.c
@@ -679,7 +679,7 @@ static int sd_init(struct gspca_dev *gspca_dev)
679 679
680 sensor_id = (reg_r(gspca_dev, 0x06) << 8) 680 sensor_id = (reg_r(gspca_dev, 0x06) << 8)
681 | reg_r(gspca_dev, 0x07); 681 | reg_r(gspca_dev, 0x07);
682 switch (sensor_id) { 682 switch (sensor_id & 0xff0f) {
683 case 0x0801: 683 case 0x0801:
684 PDEBUG(D_PROBE, "sensor tas5130a"); 684 PDEBUG(D_PROBE, "sensor tas5130a");
685 sd->sensor = SENSOR_TAS5130A; 685 sd->sensor = SENSOR_TAS5130A;