aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/t613.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-02-06 12:11:58 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:50 -0400
commit748c01488923fa1b0c94046d731116125dc16a60 (patch)
tree11bb9afa71062409b07645a66cd884bebc11aa6a /drivers/media/video/gspca/t613.c
parentc35d066e852256fa6492bb68315cf564494c8823 (diff)
V4L/DVB (10638): gspca - t613: Bad debug level when displaying the sensor type.
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index 24174ccb62fa..353931023ac8 100644
--- a/drivers/media/video/gspca/t613.c
+++ b/drivers/media/video/gspca/t613.c
@@ -681,19 +681,19 @@ static int sd_init(struct gspca_dev *gspca_dev)
681 | reg_r(gspca_dev, 0x07); 681 | reg_r(gspca_dev, 0x07);
682 switch (sensor_id) { 682 switch (sensor_id) {
683 case 0x0801: 683 case 0x0801:
684 PDEBUG(D_CONF, "sensor tas5130a"); 684 PDEBUG(D_PROBE, "sensor tas5130a");
685 sd->sensor = SENSOR_TAS5130A; 685 sd->sensor = SENSOR_TAS5130A;
686 break; 686 break;
687 case 0x0803: 687 case 0x0803:
688 PDEBUG(D_CONF, "sensor 'other'"); 688 PDEBUG(D_PROBE, "sensor 'other'");
689 sd->sensor = SENSOR_OTHER; 689 sd->sensor = SENSOR_OTHER;
690 break; 690 break;
691 case 0x0807: 691 case 0x0807:
692 PDEBUG(D_CONF, "sensor om6802"); 692 PDEBUG(D_PROBE, "sensor om6802");
693 sd->sensor = SENSOR_OM6802; 693 sd->sensor = SENSOR_OM6802;
694 break; 694 break;
695 default: 695 default:
696 PDEBUG(D_CONF, "unknown sensor %04x", sensor_id); 696 PDEBUG(D_ERR|D_PROBE, "unknown sensor %04x", sensor_id);
697 return -EINVAL; 697 return -EINVAL;
698 } 698 }
699 699