Files
linux/drivers
Zhang Rui ed206fac87 ACPI: bugfix reporting of event handler status
Introduce a new flag showing whether the event has an event handler/method.

For all the GPEs and Fixed Events,
 1. ACPI_EVENT_FLAG_HANDLE is cleared, it's an "invalid" ACPI event.
 2. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_DISABLE are set,
    it's "disabled".
 3. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_ENABLE are set,
    it's "enabled".
 4. Both ACPI_EVENT_FLAG_HANDLE and ACPI_EVENT_FLAG_WAKE_ENABLE are set,
    it's "wake_enabled".

Among other things, this prevents incorrect reporting of ACPI events
as being "invalid" when it's really just (temporarily) "disabled".

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-10-28 01:53:19 -04:00
..
…
…
2008-10-21 07:48:21 -04:00
2008-10-27 08:39:52 -07:00
…
…
2008-10-20 08:52:40 -07:00
…
2008-10-26 10:27:01 +01:00
2008-10-22 01:19:39 +02:00
2008-10-26 09:35:05 -07:00
…
…
2008-10-21 07:48:33 -04:00
2008-10-23 00:43:47 -04:00
2008-10-21 07:48:37 -04:00
2008-10-26 23:09:27 -07:00
2008-10-16 11:21:30 -07:00
2008-10-21 15:49:55 +11:00
2008-10-25 04:07:14 -04:00
2008-10-23 00:11:07 -04:00
…
2008-10-23 09:35:18 -07:00
…
…
…
…
2008-10-20 08:52:36 -07:00
2008-10-23 09:19:47 -07:00
2008-10-22 22:55:20 -07:00