]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00214865 mxc_v4l2_capture:Be silent when closing device
authorLiu Ying <Ying.Liu@freescale.com>
Tue, 26 Jun 2012 04:45:05 +0000 (12:45 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:52 +0000 (08:34 +0200)
This patch changes the debug level of a kernel message in
mxc_v4l2_close() from KERN_INFO to KERN_DEBUG to make the
console silent when closing device.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 42bd808baa7c03671665297cd40ae9cce8186d6b)

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

index 5bd4886fec02415b850e2abcf4fa9585d7f693c0..7f3b869b161006fdd0fc4eefdaa807aa50e532a8 100644 (file)
@@ -1705,7 +1705,7 @@ static int mxc_v4l_close(struct file *file)
 
                wait_event_interruptible(cam->power_queue,
                                         cam->low_power == false);
-               pr_info("mxc_v4l_close: release resource\n");
+               pr_debug("mxc_v4l_close: release resource\n");
 
                if (strcmp(mxc_capture_inputs[cam->current_input].name,
                           "CSI MEM") == 0) {