Skip to content

Commit

Permalink
V4L/DVB (13883): gspca - m5602: Be less verbose during sensor probe
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Erik Andrén authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 6a1b262 commit 969cc92
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/m5602/m5602_mt9m111.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/m5602/m5602_ov9650.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/m5602/m5602_po1030.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/m5602/m5602_s5k4aa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/m5602/m5602_s5k83a.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 969cc92

Please sign in to comment.