aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ver_linux
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-11-25 00:09:15 +0100
committerLen Brown <len.brown@intel.com>2011-01-12 04:48:45 -0500
commit25eed40720fc9005c63a1f436e5f8a78836c26ff (patch)
tree2c927e50d57c2e456d9ceaa575c1bb774627ee10 /scripts/ver_linux
parentade3e7fef794781c0798d0cf0f046123842ba550 (diff)
downloadkernel_samsung_aries-25eed40720fc9005c63a1f436e5f8a78836c26ff.zip
kernel_samsung_aries-25eed40720fc9005c63a1f436e5f8a78836c26ff.tar.gz
kernel_samsung_aries-25eed40720fc9005c63a1f436e5f8a78836c26ff.tar.bz2
ACPI / PM: Add function for updating device power state consistently
Add function acpi_bus_update_power() for reading the actual power state of an ACPI device and updating its device->power.state field in such a way that its power resources' reference counters will remain consistent with that field. For this purpose introduce __acpi_bus_set_power() setting the power state of an ACPI device without updating its device->power.state field and make acpi_bus_set_power() and acpi_bus_update_power() use it (acpi_bus_set_power() retains the current behavior for now). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'scripts/ver_linux')
0 files changed, 0 insertions, 0 deletions