ACPI / processor: Set default C1 idle state description
authorYazen Ghannam <yazen.ghannam@amd.com>
Mon, 29 Jan 2018 20:22:49 +0000 (14:22 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 4 Feb 2018 08:21:44 +0000 (09:21 +0100)
commit248e8841b4fbb07048f1eb4f63b74bd3c4cf91f2
treeb5c72adfbb7a2e715decdc9fe0663a77853673a8
parentba1edb9a5125a617d612f98eead14b9b84e75c3a
ACPI / processor: Set default C1 idle state description

The ACPI idle driver will default to ACPI_CSTATE_HALT for C1 if a _CST
object for C1 is not defined. However, the description will not be set,
so users will see "<null>" when reading the description from sysfs.

Set the C1 state description when defaulting to ACPI_CSTATE_HALT.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c