Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8841a2fd authored by Manoj Rao's avatar Manoj Rao
Browse files

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: default avatarManoj Rao <manojraj@codeaurora.org>
parent 4d10f813
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}