ACPI: processor: idle: Allow probing on platforms with one ACPI C-state
authorZhang Rui <rui.zhang@intel.com>
Wed, 22 Apr 2020 07:26:07 +0000 (15:26 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Apr 2020 08:32:44 +0000 (10:32 +0200)
commit496121c02127e9c460b436244c38260b044cc45a
tree62b16501bdc7191726e3d139f1b52219fb428839
parent6a8b55ed4056ea5559ebe4f6a4b247f627870d4c
ACPI: processor: idle: Allow probing on platforms with one ACPI C-state

It is possible for ACPI _CST to return only one ACPI C-state, for
example, when deep cstate disabled in the BIOS.

And it is better for the acpi_idle driver to probe succesfully in
this case as well for consistency.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c