aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/platform/x86/intel_ips.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c
index 76e41dc45f76..50ab1c93e369 100644
--- a/drivers/platform/x86/intel_ips.c
+++ b/drivers/platform/x86/intel_ips.c
@@ -1391,9 +1391,10 @@ static struct ips_mcp_limits *ips_detect_cpu(struct ips_driver *ips)
1391 tdp = turbo_power & TURBO_TDP_MASK; 1391 tdp = turbo_power & TURBO_TDP_MASK;
1392 1392
1393 /* Sanity check TDP against CPU */ 1393 /* Sanity check TDP against CPU */
1394 if (limits->mcp_power_limit != (tdp / 8) * 1000) { 1394 if (limits->core_power_limit != (tdp / 8) * 1000) {
1395 dev_warn(&ips->dev->dev, "Warning: CPU TDP doesn't match expected value (found %d, expected %d)\n", 1395 dev_info(&ips->dev->dev, "CPU TDP doesn't match expected value (found %d, expected %d)\n",
1396 tdp / 8, limits->mcp_power_limit / 1000); 1396 tdp / 8, limits->core_power_limit / 1000);
1397 limits->core_power_limit = (tdp / 8) * 1000;
1397 } 1398 }
1398 1399
1399out: 1400out: