summaryrefslogtreecommitdiff
path: root/src/ec/google/wilco/acpi/event.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 09:38:45 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:06:29 +0000
commit42efd7f593c9d270ff330d1282d9c569d1ec709a (patch)
treebccc1e9c9bb2f9aec6c76c55611f0aafdb4f6e9b /src/ec/google/wilco/acpi/event.asl
parentfa06bcba06c5842faae797629e9f72ec28d511c0 (diff)
{superio,ec}/acpi: Replace constant "Zero" with actual number
Change-Id: I449ec5b0bbf3f24d51688efef151d3018d2848b2 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71524 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/google/wilco/acpi/event.asl')
-rw-r--r--src/ec/google/wilco/acpi/event.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/google/wilco/acpi/event.asl b/src/ec/google/wilco/acpi/event.asl
index 47c2ecdaab..3f59946817 100644
--- a/src/ec/google/wilco/acpi/event.asl
+++ b/src/ec/google/wilco/acpi/event.asl
@@ -139,10 +139,10 @@ Method (_Q66, 0, Serialized)
/* UCSI SCI uses a unique event code */
Method (_Q79, 0, Serialized)
{
- If (ISSX == Zero) {
+ If (ISSX == 0) {
Printf ("EC _Q79 UCSI Event")
Notify (^UCSI, 0x80)
- ^UCEP = Zero
+ ^UCEP = 0
} Else {
Printf ("EC _Q79 UCSI Event Masked in S0ix")
^UCEP = 1