summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>2013-04-16 17:52:46 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:16:12 -0700
commitad748588dc6273eb1f5c849461d093342b548cc4 (patch)
tree39433b652d8dcf10ef5f25ede2076759df110291
parent87b9ef4beb19aa43d8232d74f6c32ca785c1029d (diff)
msm: mdss: Prevent kernel log overflow
Pipe initialization log needs to be a debug message instead of info as the pipe_init function is called frequently during calls to overlay set. Change-Id: I5251918afef1104d4e210283fe09b5a9c715ea3f Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_mdp_pipe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_pipe.c b/drivers/video/fbdev/msm/mdss_mdp_pipe.c
index 946d927fba4a..746705d67d1c 100644
--- a/drivers/video/fbdev/msm/mdss_mdp_pipe.c
+++ b/drivers/video/fbdev/msm/mdss_mdp_pipe.c
@@ -255,11 +255,12 @@ static struct mdss_mdp_pipe *mdss_mdp_pipe_init(struct mdss_mdp_mixer *mixer,
}
if (pipe) {
- pr_info("type=%x pnum=%d\n", pipe->type, pipe->num);
+ pr_debug("type=%x pnum=%d\n", pipe->type, pipe->num);
mutex_init(&pipe->pp_res.hist.hist_mutex);
spin_lock_init(&pipe->pp_res.hist.hist_lock);
- } else
+ } else {
pr_err("no %d type pipes available\n", type);
+ }
return pipe;
}