]> 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>
Wed, 20 Aug 2014 08:06:57 +0000 (10:06 +0200)
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)

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

index e4eea5309e57be3ce541c664585becccb1d5a98c..84b6e4e857ef6757fed7fde09592cd11acc113ec 100755 (executable)
@@ -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;