summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorThomas Schlichter <thomas.schlichter@web.de>2015-03-31 20:24:39 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-04-03 13:18:25 +0200
commitc7e8bdf5872c5a8f5a6494e16fe839c38a0d3d3d (patch)
tree6be691b1d7d85b449df55e69f765302de75d6cb3 /kernel
parentd75e4af14e228bbe3f86e29bcecb8e6be98d4e04 (diff)
cpuidle: ACPI: do not overwrite name and description of C0
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> Cc: 3.13+ <stable@vger.kernel.org> # 3.13+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions