diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2013-03-08 16:55:37 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2013-03-13 12:03:14 +0800 |
commit | 289cc885ae097bbf9849cb266679a2969e5c39a9 (patch) | |
tree | 49b823db862a4a65134cf7be2a0e8a00fdbb8ab2 /drivers | |
parent | 5fed1e3fde2d63c80f414f204734d35ceecef561 (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.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/mxc/capture/mxc_v4l2_capture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c index 40cd8e0ce065..3e81f1c4f4d0 100644 --- a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c +++ b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c @@ -1405,7 +1405,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; |