diff options
author | Christoph Jaeger <christophjaeger@linux.com> | 2014-04-12 17:57:30 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-04-21 21:36:07 (GMT) |
commit | d27dca4217eb4cbdc3d33ad8c07799dd184873b9 (patch) | |
tree | 546239c3b95daffd92ecc56e76aa581a4522d88d /drivers/idle/intel_idle.c | |
parent | a798c10faf62a505d24e5f6213fbaf904a39623f (diff) | |
download | linux-d27dca4217eb4cbdc3d33ad8c07799dd184873b9.tar.xz |
intel_idle: fix IVT idle state table setting
Ivy Town idle state table will not be set as intended. Fix it.
Picked up by Coverity - CID 1201420/1201421.
Fixes: 0138d8f075 ("intel_idle: fine-tune IVT residency targets")
Signed-off-by: Christoph Jaeger <christophjaeger@linux.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/idle/intel_idle.c')
-rw-r--r-- | drivers/idle/intel_idle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index a43220c..4d140bb 100644 --- a/drivers/idle/intel_idle.c +++ b/drivers/idle/intel_idle.c @@ -750,9 +750,10 @@ void intel_idle_state_table_update(void) if (package_num + 1 > num_sockets) { num_sockets = package_num + 1; - if (num_sockets > 4) + if (num_sockets > 4) { cpuidle_state_table = ivt_cstates_8s; return; + } } } |