]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00243315-4 MXC V4L2 Capture:Improve debug info for s_std
authorLiu Ying <Ying.Liu@freescale.com>
Fri, 8 Mar 2013 08:55:37 +0000 (16:55 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:57 +0000 (08:35 +0200)
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>
(cherry picked from commit 289cc885ae097bbf9849cb266679a2969e5c39a9)

drivers/media/video/mxc/capture/mxc_v4l2_capture.c

index 40cd8e0ce065584161be4f71bb87c17428c6cd4d..3e81f1c4f4d05904c98170f87daf10de1c562434 100644 (file)
@@ -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;