Skip to content

Commit

Permalink
ips driver: make it less chatty
Browse files Browse the repository at this point in the history
We don't need a dev_warn when we exceed a thermal or power limit as
we'll handle it appropriately by clamping down on the CPU, GPU or both
as needed.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
  • Loading branch information
Jesse Barnes authored and Matthew Garrett committed Aug 3, 2010
1 parent 5aa0693 commit 1a14703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/platform/x86/intel_ips.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ static bool mcp_exceeded(struct ips_driver *ips)
spin_unlock_irqrestore(&ips->turbo_status_lock, flags);

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

return ret;
Expand Down Expand Up @@ -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_warn(&ips->dev->dev,
dev_info(&ips->dev->dev,
"CPU power or thermal limit exceeded\n");

return ret;
Expand Down

0 comments on commit 1a14703

Please sign in to comment.