summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoj Rao <manojraj@codeaurora.org>2014-04-30 21:16:31 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:29:34 -0700
commit95f8941890aaa49c2164ed22a9244893c7275203 (patch)
tree2d7a949037d1134a995fca99dcec3f08a3ad053c
parent3ad5d5a830b6b09274f70c6166259329a1f5571f (diff)
mdss: compat: suppress unnecessary prints
Some overlay ioctls would fail in order to indicate that a user request cannot be satisfied due to, say, resource constraints. Such failures could depend on a particular target's capabilities. In such cases, it is not fatal to return error. Suppress printing such failures as errors. Change-Id: I163d6c21055527a8d5f0adf09af0debc54e47751 Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_compat_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_compat_utils.c b/drivers/video/fbdev/msm/mdss_compat_utils.c
index e15e368c8e3e..ebb6e700e22e 100644
--- a/drivers/video/fbdev/msm/mdss_compat_utils.c
+++ b/drivers/video/fbdev/msm/mdss_compat_utils.c
@@ -2593,7 +2593,7 @@ int mdss_fb_compat_ioctl(struct fb_info *info, unsigned int cmd,
if (ret == -ENOSYS)
pr_err("%s: unsupported ioctl\n", __func__);
else if (ret)
- pr_err("%s: ioctl err cmd=%u ret=%d\n", __func__, cmd, ret);
+ pr_debug("%s: ioctl err cmd=%u ret=%d\n", __func__, cmd, ret);
return ret;
}