V4L/DVB (13883): gspca - m5602: Be less verbose during sensor probe
Currently all probed sensor types are emitted in the kernel log, generating unnecessary noise. Be less verbose and only report what sensor is found (if any) Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
6a1b262fac
commit
969cc9264b
|
@ -171,7 +171,7 @@ int mt9m111_probe(struct sd *sd)
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
info("Probing for a mt9m111 sensor");
|
||||
PDEBUG(D_PROBE, "Probing for a mt9m111 sensor");
|
||||
|
||||
/* Do the preinit */
|
||||
for (i = 0; i < ARRAY_SIZE(preinit_mt9m111); i++) {
|
||||
|
|
|
@ -307,7 +307,7 @@ int ov9650_probe(struct sd *sd)
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
info("Probing for an ov9650 sensor");
|
||||
PDEBUG(D_PROBE, "Probing for an ov9650 sensor");
|
||||
|
||||
/* Run the pre-init before probing the sensor */
|
||||
for (i = 0; i < ARRAY_SIZE(preinit_ov9650) && !err; i++) {
|
||||
|
|
|
@ -205,7 +205,7 @@ int po1030_probe(struct sd *sd)
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
info("Probing for a po1030 sensor");
|
||||
PDEBUG(D_PROBE, "Probing for a po1030 sensor");
|
||||
|
||||
/* Run the pre-init to actually probe the unit */
|
||||
for (i = 0; i < ARRAY_SIZE(preinit_po1030); i++) {
|
||||
|
|
|
@ -248,7 +248,7 @@ int s5k4aa_probe(struct sd *sd)
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
info("Probing for a s5k4aa sensor");
|
||||
PDEBUG(D_PROBE, "Probing for a s5k4aa sensor");
|
||||
|
||||
/* Preinit the sensor */
|
||||
for (i = 0; i < ARRAY_SIZE(preinit_s5k4aa) && !err; i++) {
|
||||
|
|
|
@ -143,7 +143,7 @@ int s5k83a_probe(struct sd *sd)
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
info("Probing for a s5k83a sensor");
|
||||
PDEBUG(D_PROBE, "Probing for a s5k83a sensor");
|
||||
|
||||
/* Preinit the sensor */
|
||||
for (i = 0; i < ARRAY_SIZE(preinit_s5k83a) && !err; i++) {
|
||||
|
|
Loading…
Reference in a new issue