Commit 748c0148 authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab

V4L/DVB (10638): gspca - t613: Bad debug level when displaying the sensor type.

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c35d066e
...@@ -681,19 +681,19 @@ static int sd_init(struct gspca_dev *gspca_dev) ...@@ -681,19 +681,19 @@ static int sd_init(struct gspca_dev *gspca_dev)
| reg_r(gspca_dev, 0x07); | reg_r(gspca_dev, 0x07);
switch (sensor_id) { switch (sensor_id) {
case 0x0801: case 0x0801:
PDEBUG(D_CONF, "sensor tas5130a"); PDEBUG(D_PROBE, "sensor tas5130a");
sd->sensor = SENSOR_TAS5130A; sd->sensor = SENSOR_TAS5130A;
break; break;
case 0x0803: case 0x0803:
PDEBUG(D_CONF, "sensor 'other'"); PDEBUG(D_PROBE, "sensor 'other'");
sd->sensor = SENSOR_OTHER; sd->sensor = SENSOR_OTHER;
break; break;
case 0x0807: case 0x0807:
PDEBUG(D_CONF, "sensor om6802"); PDEBUG(D_PROBE, "sensor om6802");
sd->sensor = SENSOR_OM6802; sd->sensor = SENSOR_OM6802;
break; break;
default: default:
PDEBUG(D_CONF, "unknown sensor %04x", sensor_id); PDEBUG(D_ERR|D_PROBE, "unknown sensor %04x", sensor_id);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment