From: Lv Zheng <lv.zheng@intel.com>
To: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
Len Brown <len.brown@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>, Lv Zheng <zetalog@gmail.com>,
<linux-kernel@vger.kernel.org>,
linux-acpi@vger.kernel.org
Subject: [PATCH v2 1/6] ACPI / EC: Update acpi_ec_is_gpe_raised() with new GPE status flag.
Date: Fri, 15 May 2015 14:16:17 +0800 [thread overview]
Message-ID: <86fcff060a37d170bcfb64fcfbc0f0f43a301ab4.1431670199.git.lv.zheng@intel.com> (raw)
In-Reply-To: <cover.1431670199.git.lv.zheng@intel.com>
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>
---
drivers/acpi/ec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 5e8fed4..99084e8 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)
acpi_event_status gpe_status = 0;
(void)acpi_get_gpe_status(NULL, ec->gpe, &gpe_status);
- return (gpe_status & ACPI_EVENT_FLAG_SET) ? true : false;
+ return (gpe_status & ACPI_EVENT_FLAG_STATUS_SET) ? true : false;
}
static inline void acpi_ec_enable_gpe(struct acpi_ec *ec, bool open)
--
1.7.10
next prev parent reply other threads:[~2015-05-15 6:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3b6064b23b148a9c3eed58566e9361a852618556.1430900840.git.lv.zheng@intel.com>
2015-05-15 6:16 ` [PATCH v2 0/6] ACPI / EC: Update due to recent changes Lv Zheng
2015-05-15 6:16 ` Lv Zheng [this message]
2015-05-15 6:16 ` [PATCH v2 2/6] ACPI / EC: Remove storming threashold enlarging quirk Lv Zheng
2015-05-15 6:16 ` [PATCH v2 3/6] ACPI / EC: Remove irqs_disabled() check Lv Zheng
2015-05-15 6:16 ` [PATCH v2 4/6] ACPI / EC: Fix and clean up register access guarding logics Lv Zheng
2015-05-15 6:16 ` [PATCH v2 5/6] ACPI / EC: Add module params for polling modes Lv Zheng
2015-05-15 6:16 ` [PATCH v2 6/6] ACPI / EC: Remove non-root-caused busy polling quirks Lv Zheng
2015-05-16 0:22 ` [PATCH v2 0/6] ACPI / EC: Update due to recent changes Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86fcff060a37d170bcfb64fcfbc0f0f43a301ab4.1431670199.git.lv.zheng@intel.com \
--to=lv.zheng@intel.com \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael.j.wysocki@intel.com \
--cc=zetalog@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®