mirror of https://gitee.com/openkylin/linux.git
ACPI: update comments for acpi_event_status
ACPI_EVENT_FLAG_HANDLE is a flag for acpi_event_status. When it is set, it indicates that the ACPI event, either GPE or fixed event, is associated with a handler. Update the comments to reflect this flag. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
0fa8794e65
commit
34f8f1031c
|
@ -650,13 +650,14 @@ typedef u32 acpi_event_type;
|
|||
* The encoding of acpi_event_status is illustrated below.
|
||||
* Note that a set bit (1) indicates the property is TRUE
|
||||
* (e.g. if bit 0 is set then the event is enabled).
|
||||
* +-------------+-+-+-+
|
||||
* | Bits 31:3 |2|1|0|
|
||||
* +-------------+-+-+-+
|
||||
* | | | |
|
||||
* | | | +- Enabled?
|
||||
* | | +--- Enabled for wake?
|
||||
* | +----- Set?
|
||||
* +-------------+-+-+-+-+
|
||||
* | Bits 31:4 |3|2|1|0|
|
||||
* +-------------+-+-+-+-+
|
||||
* | | | | |
|
||||
* | | | | +- Enabled?
|
||||
* | | | +--- Enabled for wake?
|
||||
* | | +----- Set?
|
||||
* | +------- Has a handler?
|
||||
* +----------- <Reserved>
|
||||
*/
|
||||
typedef u32 acpi_event_status;
|
||||
|
|
Loading…
Reference in New Issue