Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4942744f93884cb462400c66258c0013bea65dcf
Commit:     4942744f93884cb462400c66258c0013bea65dcf
Parent:     7a06f3f2aab797a12f28cf0f4504ec4e346e97f9
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 30 09:44:12 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:01:51 2008 -0200

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 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 cd5f0d8..b92efe0 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,
                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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to