From patchwork Thu Jun 4 13:25:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ameya Palande X-Patchwork-Id: 27888 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n54DQ9Eu012918 for ; Thu, 4 Jun 2009 13:26:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752104AbZFDN0F (ORCPT ); Thu, 4 Jun 2009 09:26:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752396AbZFDN0F (ORCPT ); Thu, 4 Jun 2009 09:26:05 -0400 Received: from smtp.nokia.com ([192.100.105.134]:49411 "EHLO mgw-mx09.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752104AbZFDN0E (ORCPT ); Thu, 4 Jun 2009 09:26:04 -0400 Received: from esebh105.NOE.Nokia.com (esebh105.ntc.nokia.com [172.21.138.211]) by mgw-mx09.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n54DPR8R002319; Thu, 4 Jun 2009 08:26:05 -0500 Received: from vaebh104.NOE.Nokia.com ([10.160.244.30]) by esebh105.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Jun 2009 16:25:42 +0300 Received: from mgw-da01.ext.nokia.com ([147.243.128.24]) by vaebh104.NOE.Nokia.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Jun 2009 16:25:41 +0300 Received: from localhost.localdomain (esdhcp04162.research.nokia.com [172.21.41.62]) by mgw-da01.ext.nokia.com (Switch-3.2.6/Switch-3.2.6) with ESMTP id n54DPbve018195; Thu, 4 Jun 2009 16:25:37 +0300 From: Ameya Palande To: linux-omap@vger.kernel.org Cc: omar.ramirez@ti.com Subject: [PATCH] DSPBRIDGE: Use GT_trace for CLk_Disable message Date: Thu, 4 Jun 2009 16:25:53 +0300 Message-Id: <1244121953-24866-1-git-send-email-ameya.palande@nokia.com> X-Mailer: git-send-email 1.6.2.4 X-OriginalArrivalTime: 04 Jun 2009 13:25:42.0080 (UTC) FILETIME=[F564C400:01C9E517] X-Nokia-AV: Clean Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Ameya Palande To reduce the unnecessary debug messages polluting the console, pr_err is replaced by GT_trace which provides finer control for the visibility of debug messages. Signed-off-by: Ameya Palande Acked-by: Omar Ramirez Luna --- drivers/dsp/bridge/services/clk.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dsp/bridge/services/clk.c b/drivers/dsp/bridge/services/clk.c index b499b14..f0e46a3 100644 --- a/drivers/dsp/bridge/services/clk.c +++ b/drivers/dsp/bridge/services/clk.c @@ -277,8 +277,8 @@ DSP_STATUS CLK_Disable(IN enum SERVICES_ClkId clk_id) SERVICES_Clks[clk_id].clk_name, SERVICES_Clks[clk_id].id); } else if (clkUseCnt == 0) { - pr_err("CLK_Disable: CLK %s, CLK dev id= %d is already" - "disabled\n", + GT_2trace(CLK_debugMask, GT_4CLASS, "CLK_Disable: CLK %s," + "CLK dev id= %d is already disabled\n", SERVICES_Clks[clk_id].clk_name, SERVICES_Clks[clk_id].id); return status;