From: Jesse Barnes Date: Wed, 28 Jul 2010 21:42:56 +0000 (-0700) Subject: ips driver: make it less chatty X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1a14703d6b20010401ca273ac1f07bff7992aa2c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git ips driver: make it less chatty 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 Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index 03448224aed..afe82e50dfe 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_warn(&ips->dev->dev, + dev_info(&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_warn(&ips->dev->dev, + dev_info(&ips->dev->dev, "CPU power or thermal limit exceeded\n"); return ret;