diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-12-26 09:32:47 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-12-27 09:05:56 +0000 |
commit | fa06bcba06c5842faae797629e9f72ec28d511c0 (patch) | |
tree | 8fba8940a2bf47e403ee5009a623960cf344c975 /src/mainboard/system76/kbl-u/acpi/hid.asl | |
parent | 7b8ac0030c611ad84d9ba84b3e90c36233a32c11 (diff) |
mainboard/acpi: Replace constant "Zero" with actual number
Change-Id: I4f2f02623b060ef0ebefc5aceb713c77a8b1e9a6
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71523
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/system76/kbl-u/acpi/hid.asl')
-rw-r--r-- | src/mainboard/system76/kbl-u/acpi/hid.asl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainboard/system76/kbl-u/acpi/hid.asl b/src/mainboard/system76/kbl-u/acpi/hid.asl index 8bbb65bc45..eb5f420cce 100644 --- a/src/mainboard/system76/kbl-u/acpi/hid.asl +++ b/src/mainboard/system76/kbl-u/acpi/hid.asl @@ -3,19 +3,19 @@ Device (HIDD) { Name (_HID, "INT33D5") - Name (HBSY, Zero) - Name (HIDX, Zero) - Name (HRDY, Zero) + Name (HBSY, 0) + Name (HIDX, 0) + Name (HRDY, 0) Method (HDEM, 0, Serialized) { - HBSY = Zero + HBSY = 0 Return (HIDX) } Method (HDMM, 0, Serialized) { - Return (Zero) + Return (0) } Method (HDSM, 1, Serialized) @@ -29,7 +29,7 @@ Device (HIDD) HIDX = Arg0 Notify (HIDD, 0xC0) - Local0 = Zero + Local0 = 0 While ((Local0 < 0xFA) && HBSY) { Sleep (0x04) @@ -38,13 +38,13 @@ Device (HIDD) If (HBSY == 1) { - HBSY = Zero - HIDX = Zero + HBSY = 0 + HIDX = 0 Return (1) } Else { - Return (Zero) + Return (0) } } } |