public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Smartreflex: Avoid unnecessary spam
@ 2009-12-08 14:16 Tero Kristo
  2009-12-09 23:15 ` Kevin Hilman
  0 siblings, 1 reply; 6+ messages in thread
From: Tero Kristo @ 2009-12-08 14:16 UTC (permalink / raw)
  To: linux-omap

From: Tero Kristo <tero.kristo@nokia.com>

Current warning messages will be constantly printed out during normal operation
if smartreflex autocompensation is disabled.

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
---
 arch/arm/mach-omap2/smartreflex.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c
index be3a1da..db228b2 100644
--- a/arch/arm/mach-omap2/smartreflex.c
+++ b/arch/arm/mach-omap2/smartreflex.c
@@ -675,13 +675,8 @@ void sr_start_vddautocomap(int srid, u32 target_opp_no)
 		sr_configure(sr);
 	}
 
-	if (sr->is_autocomp_active == 1)
-		pr_warning("SR%d: VDD autocomp is already active\n",
-									srid);
-
 	sr->is_autocomp_active = 1;
 	if (!sr_enable(sr, target_opp_no)) {
-		pr_warning("SR%d: VDD autocomp not activated\n", srid);
 		sr->is_autocomp_active = 0;
 		if (sr->is_sr_reset == 1)
 			sr_clk_disable(sr);
@@ -707,11 +702,8 @@ int sr_stop_vddautocomap(int srid)
 		/* Reset the volatage for current OPP */
 		sr_reset_voltage(srid);
 		return true;
-	} else {
-		pr_warning("SR%d: VDD autocomp is not active\n",
-								srid);
+	} else
 		return false;
-	}
 
 }
 EXPORT_SYMBOL(sr_stop_vddautocomap);
-- 
1.5.4.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-09 23:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-08 14:16 [PATCH] Smartreflex: Avoid unnecessary spam Tero Kristo
2009-12-09 23:15 ` Kevin Hilman
2009-12-09 23:21   ` Nishanth Menon
2009-12-09 23:23   ` Felipe Balbi
2009-12-09 23:47     ` Nishanth Menon
2009-12-09 23:51       ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox