Files
linux/drivers/acpi
Thomas Schlichter f4a1af9ffb cpuidle: ACPI: do not overwrite name and description of C0
commit c7e8bdf587 upstream.

Fix a bug that leads to showing the name and description of C-state C0
as "<null>" in sysfs after the ACPI C-states changed (e.g. after AC->DC
or DC->AC
transition).

The function poll_idle_init() in drivers/cpuidle/driver.c initializes the
state 0 during cpuidle_register_driver(), so we better do not overwrite it
again with '\0' during acpi_processor_cst_has_changed().

Signed-off-by: Thomas Schlichter <thomas.schlichter@web.de>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-04-19 10:10:49 +02:00
..
2013-06-07 12:35:23 +02:00
2013-03-25 00:13:15 +01:00
2013-04-28 01:54:08 +02:00
2013-04-28 01:54:08 +02:00
2013-01-17 14:11:06 +01:00