ACPI / PM: Take order attribute of wakeup power resources into account
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Jan 2013 13:11:06 +0000 (14:11 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Jan 2013 13:11:06 +0000 (14:11 +0100)
commit993cbe595dda731471a07f4f65575fadedc570dc
tree2fb3877c89bf031acdbae666fe4530d88eb5945f
parent0b224527323669c66e0a37ae05b04034bfcdce14
ACPI / PM: Take order attribute of wakeup power resources into account

ACPI power resources have an order attribute that should be taken
into account when turning them on and off, but it is not used now.

Modify the power resources management code to preserve the
spec-compliant ordering of wakeup power resources.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/power.c
drivers/acpi/scan.c
include/acpi/acpi_bus.h