lkml.org 
[lkml]   [2010]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] intel_ips: quieten "power or thermal limit exceeded" messages
Date
On my Dell Inspiron N4010, one of these messages is printed every five
seconds. Change both to dev_dbg to quieten them even more.

Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
---
drivers/platform/x86/intel_ips.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c
index 9024480..7833adc 100644
--- a/drivers/platform/x86/intel_ips.c
+++ b/drivers/platform/x86/intel_ips.c
@@ -607,7 +607,7 @@ static bool mcp_exceeded(struct ips_driver *ips)
spin_unlock_irqrestore(&ips->turbo_status_lock, flags);

if (ret)
- dev_info(&ips->dev->dev,
+ dev_dbg(&ips->dev->dev,
"MCP power or thermal limit exceeded\n");

return ret;
@@ -635,7 +635,7 @@ static bool cpu_exceeded(struct ips_driver *ips, int cpu)
spin_unlock_irqrestore(&ips->turbo_status_lock, flags);

if (ret)
- dev_info(&ips->dev->dev,
+ dev_dbg(&ips->dev->dev,
"CPU power or thermal limit exceeded\n");

return ret;
--
1.7.2.2


\
 
 \ /
  Last update: 2010-08-27 01:31    [W:0.112 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site