diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-30 08:44:12 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-10-30 08:44:12 -0400 |
commit | c832058436bbbe87a61b7ae5f58bd5adc2aed17e (patch) | |
tree | 5d9c9c47715d0dec7078f12818761bc0ee166ec6 /linux/drivers/media/video | |
parent | 47c9bdaf6e07f0a4b5ccaec663d41aec4bf62e63 (diff) | |
download | mediapointer-dvb-s2-c832058436bbbe87a61b7ae5f58bd5adc2aed17e.tar.gz mediapointer-dvb-s2-c832058436bbbe87a61b7ae5f58bd5adc2aed17e.tar.bz2 |
tuner: prevent repeated "type set" message unless debug is enabled
From: Michael Krufky <mkrufky@linuxtv.org>
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>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/tuner-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c index c53b64fb8..30aa1f48d 100644 --- a/linux/drivers/media/video/tuner-core.c +++ b/linux/drivers/media/video/tuner-core.c @@ -391,7 +391,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; |