ACPI / ACPICA: Fail acpi_gpe_wakeup() if ACPI_GPE_CAN_WAKE is unset
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 7 Jul 2010 22:45:34 +0000 (00:45 +0200)
committerLen Brown <len.brown@intel.com>
Mon, 12 Jul 2010 18:18:39 +0000 (14:18 -0400)
commit9ce10df8d83d0528e80cd319b35ac5f6812b4f62
treef730157d4cc2058dbe400d648c4fb38a63aa031a
parent9874647ba1bdf3e1af25e079070a00676f60f2f0
ACPI / ACPICA: Fail acpi_gpe_wakeup() if ACPI_GPE_CAN_WAKE is unset

Make acpi_gpe_wakeup() return error code for GPEs whose
ACPI_GPE_CAN_WAKE flag is not set.  This way acpi_gpe_wakeup() will
only wake for the GPEs reported by the host OS as "wakeup" ones with
the help of acpi_gpe_can_wake().

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/evxfevnt.c