summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ec/lenovo/h8/acpi/thinkpad.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/acpi/thinkpad.asl b/src/ec/lenovo/h8/acpi/thinkpad.asl
index 7bf83b5690..ec897540aa 100644
--- a/src/ec/lenovo/h8/acpi/thinkpad.asl
+++ b/src/ec/lenovo/h8/acpi/thinkpad.asl
@@ -83,7 +83,7 @@ Device (HKEY)
/* Enable/disable event. */
Method (MHKM, 2, NotSerialized) {
- If (LLessEqual (Arg0, 0x20)) {
+ If (Arg0 <= 0x20) {
ShiftLeft (One, Arg0 - 1, Local0)
If (Arg1)
{