]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / processor: Get power info before updating the C-states
authorThomas Schlichter <thomas.schlichter@web.de>
Fri, 18 Jan 2013 23:28:22 +0000 (00:28 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 18 Jan 2013 23:28:22 +0000 (00:28 +0100)
commita9fd2c2d6e43a1401741b056681c608adb4b4344
tree4f966d61860dd14726d67e994d29d7377d8aa95d
parente69c3c2e9da769e12654f8ed6275ce0acbb79404
ACPI / processor: Get power info before updating the C-states

acpi_processor_get_power_info() has to be called before
acpi_processor_setup_cpuidle_states() to have the latest
information available. This fixes the missing C-state information
after AC-->DC transition.

Signed-off-by: Thomas Schlichter <thomas.schlichter@web.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_idle.c