diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-17 14:11:07 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-17 14:11:07 +0100 |
commit | 0596a52b8357b25185e06af32973225baeb7196a (patch) | |
tree | 90d1d8572a390c47109bf2fe8da545a60f2f1032 /drivers/acpi/bus.c | |
parent | e88c9c603b2ad0cd0fbe90afedba3f1becbbeb79 (diff) | |
download | blackbird-obmc-linux-0596a52b8357b25185e06af32973225baeb7196a.tar.gz blackbird-obmc-linux-0596a52b8357b25185e06af32973225baeb7196a.zip |
ACPI: Use system level attribute of wakeup power resources
The system level attribute of ACPI power resources is the lowest
system sleep level (S0, S2 etc.) in which the given resource can be
"on" (ACPI 5.0, Section 7.1). On the other hand, wakeup power
resources have to be "on" for devices depending on them to be able to
signal wakeup. Therefore devices cannot wake up the system from
sleep states higher than the minimum of the system level attributes
of their wakeup power resources.
Use the wakeup power resources' system level values to get the
deepest system sleep state (highest system sleep level) the given
device can wake up the system from.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/bus.c')
0 files changed, 0 insertions, 0 deletions