diff options
-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 18f9ad814104..91aff180ac47 100644 --- a/drivers/idle/intel_idle.c +++ b/drivers/idle/intel_idle.c | |||
@@ -347,7 +347,8 @@ static int intel_idle_probe(void) | |||
347 | cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); | 347 | cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &mwait_substates); |
348 | 348 | ||
349 | if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || | 349 | if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || |
350 | !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) | 350 | !(ecx & CPUID5_ECX_INTERRUPT_BREAK) || |
351 | !mwait_substates) | ||
351 | return -ENODEV; | 352 | return -ENODEV; |
352 | 353 | ||
353 | pr_debug(PREFIX "MWAIT substates: 0x%x\n", mwait_substates); | 354 | pr_debug(PREFIX "MWAIT substates: 0x%x\n", mwait_substates); |