diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-05-15 02:16:17 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-15 19:51:17 -0400 |
commit | 7c0b2595dabb25f96813a12940fb156134be1102 (patch) | |
tree | b8d63d295cc76234cc63f5e2e80950ca6ad2aae3 | |
parent | 4de5167ee07f7a9b66d999e40f2c3193d1a08add (diff) |
ACPI / EC: Update acpi_ec_is_gpe_raised() with new GPE status flag.
This patch updates acpi_ec_is_gpe_raised() according to the following
commit:
Commit: 09af8e8290deaff821ced01ea83594ee4c21e8df
Subject: ACPICA: Events: Add support to return both enable/status register values for GPE and fixed event.
This is actually a no-op change as both the flags are defined to a same
value.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 5e8fed448850..99084e80a344 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -267,7 +267,7 @@ static inline bool acpi_ec_is_gpe_raised(struct acpi_ec *ec) | |||
267 | acpi_event_status gpe_status = 0; | 267 | acpi_event_status gpe_status = 0; |
268 | 268 | ||
269 | (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); | 269 | (void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status); |
270 | return (gpe_status & ACPI_EVENT_FLAG_SET) ? true : false; | 270 | return (gpe_status & ACPI_EVENT_FLAG_STATUS_SET) ? true : false; |
271 | } | 271 | } |
272 | 272 | ||
273 | static inline void acpi_ec_enable_gpe(struct acpi_ec *ec, bool open) | 273 | static inline void acpi_ec_enable_gpe(struct acpi_ec *ec, bool open) |