summaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-02-06 18:11:58 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:42:50 +0200
commit748c01488923fa1b0c94046d731116125dc16a60 (patch)
tree11bb9afa71062409b07645a66cd884bebc11aa6a /drivers/media/video
parentV4L/DVB (10637): gspca - t613: Bad sensor name in kernel trace when 'other' s... (diff)
downloadlinux-748c01488923fa1b0c94046d731116125dc16a60.tar.xz
linux-748c01488923fa1b0c94046d731116125dc16a60.zip
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')
-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)
| reg_r(gspca_dev, 0x07);
switch (sensor_id) {
case 0x0801:
- PDEBUG(D_CONF, "sensor tas5130a");
+ PDEBUG(D_PROBE, "sensor tas5130a");
sd->sensor = SENSOR_TAS5130A;
break;
case 0x0803:
- PDEBUG(D_CONF, "sensor 'other'");
+ PDEBUG(D_PROBE, "sensor 'other'");
sd->sensor = SENSOR_OTHER;
break;
case 0x0807:
- PDEBUG(D_CONF, "sensor om6802");
+ PDEBUG(D_PROBE, "sensor om6802");
sd->sensor = SENSOR_OM6802;
break;
default:
- PDEBUG(D_CONF, "unknown sensor %04x", sensor_id);
+ PDEBUG(D_ERR|D_PROBE, "unknown sensor %04x", sensor_id);
return -EINVAL;
}