commit | 3451ab3ebf92b12801878d8b5c94845afd4219f0 | [log] [tgz] |
---|---|---|
author | Jan Beulich <JBeulich@suse.com> | Mon Jun 27 00:35:12 2016 -0600 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Jul 09 01:05:30 2016 +0200 |
tree | 60b304f2539da187b430ae0539e2657b6487e646 | |
parent | b55a0262a4fb4a9754f8a3319df0a6d2fe4c4c58 [diff] |
intel_idle: re-work bxt_idle_state_table_update() and its helper Since irtl_ns_units[] has itself zero entries, make sure the caller recognized those cases along with the MSR read returning zero, as zero is not a valid value for exit_latency and target_residency. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>