diff mbox

DSPBRIDGE: Use GT_trace for CLk_Disable message

Message ID 1244121953-24866-1-git-send-email-ameya.palande@nokia.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Ameya Palande June 4, 2009, 1:25 p.m. UTC
From: Ameya Palande <ameya.palande@nokia.com>

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 <ameya.palande@nokia.com>
---
 drivers/dsp/bridge/services/clk.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

omar ramirez June 5, 2009, 4:22 p.m. UTC | #1
>From: Ameya Palande [mailto:ameya.palande@nokia.com]
>
>From: Ameya Palande <ameya.palande@nokia.com>
>
>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 <ameya.palande@nokia.com>
>---
> drivers/dsp/bridge/services/clk.c |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>

Acked-by: Omar Ramirez Luna <omar.ramirez@ti.com>

Will be pushing soon to dev.omapzoom

- omar

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;