From ed00b9f28486dd1c91332a47d834bf2467355781 Mon Sep 17 00:00:00 2001 From: Ping Li Date: Fri, 7 Aug 2015 13:26:42 -0700 Subject: [PATCH] msm: mdss: Change PP loggings from warning to debug Some of the post-processing features might not be available for external displays. PP driver was printing them as pr_warn which floods the kernel logs. This change updates these logs from warning to debug to remove unnecessary logging. Change-Id: Ic1dde42ccc84e13f06db33ddbf679a211726ff80 Signed-off-by: Ping Li --- drivers/video/fbdev/msm/mdss_mdp_pp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/fbdev/msm/mdss_mdp_pp.c b/drivers/video/fbdev/msm/mdss_mdp_pp.c index 3915f9ad40dc..b1175648a1aa 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pp.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pp.c @@ -2075,7 +2075,7 @@ int mdss_mdp_pp_resume(struct msm_fb_data_type *mfd) } if (!mdss_mdp_mfd_valid_dspp(mfd)) { - pr_warn("PP not supported on display num %d hw config\n", + pr_debug("PP not supported on display num %d hw config\n", mfd->index); return -EPERM; } @@ -3103,7 +3103,7 @@ static int mdss_mdp_limited_lut_igc_config(struct msm_fb_data_type *mfd) return -EINVAL; if (!mdss_mdp_mfd_valid_dspp(mfd)) { - pr_warn("IGC not supported on display num %d hw configuration\n", + pr_debug("IGC not supported on display num %d hw configuration\n", mfd->index); return 0; } @@ -3678,7 +3678,7 @@ static int mdss_mdp_panel_default_dither_config(struct msm_fb_data_type *mfd, struct mdp_dither_data_v1_7 dither_data; if (!mdss_mdp_mfd_valid_dspp(mfd)) { - pr_warn("dither config not supported on display num %d\n", + pr_debug("dither config not supported on display num %d\n", mfd->index); return 0; }