From ea5afbde85ec02be7dea0a7ca3beac77a4a1c8dc Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Fri, 8 Mar 2013 16:55:37 +0800 Subject: [PATCH] ENGR00243315-4 MXC V4L2 Capture:Improve debug info for s_std commit f8e1a3bb62eecf93a31a51c4dbe08a0214fa1d57 introduced an annoying kernel log by changing a pure debug info to error level. This patch reverts that change. Conflicts: drivers/media/video/mxc/capture/mxc_v4l2_capture.c Signed-off-by: Liu Ying (cherry picked from commit b635fadfdff01d0f6112956ac903d80c62fd648b) --- drivers/media/platform/mxc/capture/mxc_v4l2_capture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c b/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c index e4eea5309e57..84b6e4e857ef 100755 --- a/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c +++ b/drivers/media/platform/mxc/capture/mxc_v4l2_capture.c @@ -1428,7 +1428,8 @@ exit: */ static int mxc_v4l2_s_std(cam_data *cam, v4l2_std_id e) { - printk(KERN_ERR "In mxc_v4l2_s_std %Lx\n", e); + pr_debug("In mxc_v4l2_s_std %Lx\n", e); + if (e == V4L2_STD_PAL) { pr_debug(" Setting standard to PAL %Lx\n", V4L2_STD_PAL); cam->standard.id = V4L2_STD_PAL; -- 2.39.2