From patchwork Wed Apr 10 10:42:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 2420611 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id C3BB9DFE76 for ; Wed, 10 Apr 2013 10:44:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936959Ab3DJKoh (ORCPT ); Wed, 10 Apr 2013 06:44:37 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:23271 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936450Ab3DJKof (ORCPT ); Wed, 10 Apr 2013 06:44:35 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0ML100H1UCI1JLG0@mailout2.samsung.com>; Wed, 10 Apr 2013 19:44:34 +0900 (KST) X-AuditID: cbfee61a-b7fa86d0000045ae-5a-516542928e37 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 5A.AF.17838.29245615; Wed, 10 Apr 2013 19:44:34 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0ML1001RKCFDPL00@mmp1.samsung.com>; Wed, 10 Apr 2013 19:44:34 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, shaik.samsung@gmail.com, arun.kk@samsung.com, Sylwester Nawrocki Subject: [PATCH 7/7] exynos4-is: Disable debug trace by default in fimc-isp.c Date: Wed, 10 Apr 2013 12:42:42 +0200 Message-id: <1365590562-5747-8-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1365590562-5747-1-git-send-email-s.nawrocki@samsung.com> References: <1365590562-5747-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpiluLIzCtJLcpLzFFi42I5/e+xgO4kp9RAg85XqhYfT91mtTjb9Ibd omfDVlaLGef3MVkcftPOarFu5yR2BzaPnbPusnv0bVnF6PF5k1wAcxSXTUpqTmZZapG+XQJX xv2tq1kL/rJV3Ol/ztLA+Ie1i5GTQ0LARGL+rAnsELaYxIV769m6GLk4hAQWMUq0LJ7GAuF0 MEnMnvQErINNwFCi92gfI4gtIiAv8aT3BhuIzSwwH6hjDweILSzgK/F4zhSwOIuAqsS7tiVg Nq+Aq8TLR5eBejmAtilIzJlkA2JyCrhJNNyKADGFgCq+71KbwMi7gJFhFaNoakFyQXFSeq6h XnFibnFpXrpecn7uJkZwyDyT2sG4ssHiEKMAB6MSD6+HfkqgEGtiWXFl7iFGCQ5mJRFeC63U QCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8B1qtA4UE0hNLUrNTUwtSi2CyTBycUg2Mm7r6r4UF PjqhopllriK39/yHuOoCXe0Dx2vP+d3xnOFxdrGr/ELFGpVzZoXXeD97KK3NSLO59XadzNW8 /k+vCjcWL89L13ULn3lfb5rM2zVz7RZKe8UdC/IWupE94/yHA3ee6T+fcHhtRQVbZJBaebCv 5H+VVxxqso6ZLx0/W1/eH/4+pm6pEktxRqKhFnNRcSIAsz7Z9hUCAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Make sure the debug level is properly set initially so any debug information is not printed to the kernel log without explicitly enabling it. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/exynos4-is/fimc-isp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos4-is/fimc-isp.c b/drivers/media/platform/exynos4-is/fimc-isp.c index 7b8fbab..3b9a664 100644 --- a/drivers/media/platform/exynos4-is/fimc-isp.c +++ b/drivers/media/platform/exynos4-is/fimc-isp.c @@ -30,7 +30,7 @@ #include "fimc-is-regs.h" #include "fimc-is.h" -static int debug = 10; +static int debug; module_param_named(debug_isp, debug, int, S_IRUGO | S_IWUSR); static const struct fimc_fmt fimc_isp_formats[FIMC_ISP_NUM_FORMATS] = {