summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-01-06 22:38:57 (GMT)
committerLen Brown <len.brown@intel.com>2011-01-12 10:05:39 (GMT)
commitd0515d9fec68bace144fda57a69f4268fb875209 (patch)
tree5191b7e21adefacc8fdd8c5b45ae1fcdd03a5aa8 /include/acpi
parent36237fa0a711c309a38d7a7a9aed727e0eb76449 (diff)
downloadlinux-d0515d9fec68bace144fda57a69f4268fb875209.tar.xz
ACPI / PM: Check status of power resources under mutexes
It certainly is not a good idea to execute _ON or _OFF and _STA for the same power resource at the same time which may happen in some circumstances in theory. To prevent that from happening, read the power state of each power resource under its mutex, as that will prevent the state from being changed at the same time. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions