]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ACPI: Introduce new device wakeup flag 'prepared'
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 7 Jul 2008 01:34:11 +0000 (03:34 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Jul 2008 23:26:14 +0000 (16:26 -0700)
commit0af4b8c4fb31193dc666f4893107a18fef82baab
tree1b7a3b95a24b603422b50312ace25d754786874a
parent77e766099efc29d8b01db4b8244ff64fa3d3d0ca
ACPI: Introduce new device wakeup flag 'prepared'

Introduce additional flag 'prepared' in struct acpi_device_wakeup_flags
and use it to prevent devices from being enable/disabled do wake up the
system multiple times in a row (this does not happen currently, but will
be possible after some of the following patches).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/acpi/power.c
include/acpi/acpi_bus.h