From patchwork Mon Jul 8 00:22:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 2824662 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E007A9F9F9 for ; Mon, 8 Jul 2013 00:23:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 11F5A20121 for ; Mon, 8 Jul 2013 00:23:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0A50420138 for ; Mon, 8 Jul 2013 00:23:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347Ab3GHAXO (ORCPT ); Sun, 7 Jul 2013 20:23:14 -0400 Received: from mail-ee0-f44.google.com ([74.125.83.44]:52831 "EHLO mail-ee0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753312Ab3GHAXL (ORCPT ); Sun, 7 Jul 2013 20:23:11 -0400 Received: by mail-ee0-f44.google.com with SMTP id c13so2461721eek.17 for ; Sun, 07 Jul 2013 17:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=TbOBM/o61QtChkVWmoSiOyBMaC/BRgbViLgeOQJIn9o=; b=wGbta/UBHOhfjMlooCMZDAiGS+aW6s67qAZCC4Nki3NwOhcrbBroU7ILGX12uMNhe8 GGjUzIF03csCaNKCTaufWsJJhCzKPsWtfFJjjj+aoGg+iOlpAxd2eIW4Y28+pJPM7xkX yD/TsTo66emG5+Qel1BT/C7htq6Z7K+u2RVE4EQECCP4WT0Fvotq5dMx1MQanmjNzrvX ojSBXfnzRNALws8zx75eEqSzRttl4FnijRWdq3qkbGr5/fmAebMEQvlJYxL0WR556m1R ZALaKIMKO5NcnCm8a3PwgKn6U4Q8yUqdlcWoQrtWrnpV9seFHF7WjHYUYaD+51CKpC7g XQFw== X-Received: by 10.15.36.133 with SMTP id i5mr22409757eev.52.1373242990443; Sun, 07 Jul 2013 17:23:10 -0700 (PDT) Received: from localhost.localdomain (IGLD-84-228-222-170.inter.net.il. [84.228.222.170]) by mx.google.com with ESMTPSA id p49sm37649382eeu.2.2013.07.07.17.23.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 07 Jul 2013 17:23:09 -0700 (PDT) From: Maxim Levitsky To: linux-media@vger.kernel.org Cc: Maxim Levitsky Subject: [PATCH 3/3] ene_ir: don't use pr_debug after all Date: Mon, 8 Jul 2013 03:22:47 +0300 Message-Id: <1373242968-16055-4-git-send-email-maximlevitsky@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1373242968-16055-1-git-send-email-maximlevitsky@gmail.com> References: <1373242968-16055-1-git-send-email-maximlevitsky@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This way to only way to get debug info is to use dynamic debug, but I left debugging prints to debug hardware issues, and so I want this to be enabled by module param Signed-off-by: Maxim Levitsky --- drivers/media/rc/ene_ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/ene_ir.h b/drivers/media/rc/ene_ir.h index 6f978e8..a7911e3 100644 --- a/drivers/media/rc/ene_ir.h +++ b/drivers/media/rc/ene_ir.h @@ -185,7 +185,7 @@ #define __dbg(level, format, ...) \ do { \ if (debug >= level) \ - pr_debug(format "\n", ## __VA_ARGS__); \ + pr_info(format "\n", ## __VA_ARGS__); \ } while (0) #define dbg(format, ...) __dbg(1, format, ## __VA_ARGS__)