summaryrefslogtreecommitdiff
path: root/src/ec/purism/librem-ec/acpi/hid.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 08:17:06 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:03:34 +0000
commitca4b587f95c0f1ed64e187511781abdfd4c7ebfb (patch)
treebc5c5a324c65b107fd6d992167168b0383a63503 /src/ec/purism/librem-ec/acpi/hid.asl
parentb4767ce169b202af2a9091275e30881172810fc6 (diff)
{superio,ec}/acpi: Replace constant "One" with actual number
Change-Id: I5c77b6d1e1dc1134f62dcb3e93df01dc9c2f386c Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71520 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/purism/librem-ec/acpi/hid.asl')
-rw-r--r--src/ec/purism/librem-ec/acpi/hid.asl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/purism/librem-ec/acpi/hid.asl b/src/ec/purism/librem-ec/acpi/hid.asl
index 6610c2e1bc..8bbb65bc45 100644
--- a/src/ec/purism/librem-ec/acpi/hid.asl
+++ b/src/ec/purism/librem-ec/acpi/hid.asl
@@ -25,7 +25,7 @@ Device (HIDD)
Method (HPEM, 1, Serialized)
{
- HBSY = One
+ HBSY = 1
HIDX = Arg0
Notify (HIDD, 0xC0)
@@ -36,11 +36,11 @@ Device (HIDD)
Local0++
}
- If (HBSY == One)
+ If (HBSY == 1)
{
HBSY = Zero
HIDX = Zero
- Return (One)
+ Return (1)
}
Else
{