forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
7a06f3f2aa
commit
4942744f93
@ -366,7 +366,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
|
||||
t->fe.analog_demod_priv = t;
|
||||
}
|
||||
|
||||
tuner_info("type set to %s\n", t->i2c->name);
|
||||
tuner_dbg("type set to %s\n", t->i2c->name);
|
||||
|
||||
if (t->mode_mask == T_UNINITIALIZED)
|
||||
t->mode_mask = new_mode_mask;
|
||||
|
Loading…
Reference in New Issue
Block a user