]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
V4L/DVB (10638): gspca - t613: Bad debug level when displaying the sensor type.
authorJean-Francois Moine <moinejf@free.fr>
Fri, 6 Feb 2009 17:11:58 +0000 (14:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:50 +0000 (12:42 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/t613.c

index 24174ccb62fa5bb74c7ec60bd7f2a603227d7296..353931023ac81a5d6479225c1f7985f93c45de00 100644 (file)
@@ -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;
        }