diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-30 08:44:12 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:51 -0500 |
commit | 4942744f93884cb462400c66258c0013bea65dcf (patch) | |
tree | 738c39888d85eb3be910e1b26ef95cc0f2603435 /drivers/media/video | |
parent | 7a06f3f2aab797a12f28cf0f4504ec4e346e97f9 (diff) |
V4L/DVB (6491): tuner: prevent repeated "type set" message unless debug is enabled
The tuner sub-module will usually log its type during its _attach() function,
then tuner-core reports which type was attached when control is returned.
In most cases, we expect to see the same message reported from both locations.
We only need to see this second message if debug is enabled.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/tuner-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index cd5f0d8e693c..b92efe0460f3 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -366,7 +366,7 @@ static void set_type(struct i2c_client *c, unsigned int type, | |||
366 | t->fe.analog_demod_priv = t; | 366 | t->fe.analog_demod_priv = t; |
367 | } | 367 | } |
368 | 368 | ||
369 | tuner_info("type set to %s\n", t->i2c->name); | 369 | tuner_dbg("type set to %s\n", t->i2c->name); |
370 | 370 | ||
371 | if (t->mode_mask == T_UNINITIALIZED) | 371 | if (t->mode_mask == T_UNINITIALIZED) |
372 | t->mode_mask = new_mode_mask; | 372 | t->mode_mask = new_mode_mask; |