summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2013-03-08 16:55:37 +0800
committerLiu Ying <Ying.Liu@freescale.com>2014-03-17 11:41:18 +0800
commit94d23e328368bfabd9545236d50b1374246c4789 (patch)
treeceb8ec235e037b6d8c4b3ffc713629b3dcf9b336
parent3e67a6ae4473736e3d6d3784f03a1dc78c37e739 (diff)
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 <Ying.Liu@freescale.com> (cherry picked from commit b635fadfdff01d0f6112956ac903d80c62fd648b)
-rwxr-xr-xdrivers/media/platform/mxc/capture/mxc_v4l2_capture.c3
1 files changed, 2 insertions, 1 deletions
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;