summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/acpi
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-08-03 01:31:30 +0200
committerFelix Singer <felixsinger@posteo.net>2022-10-05 22:59:34 +0000
commit1538d15e5cb70d3ee6e6d776dfbf4839bba4222d (patch)
tree9327050c53194e39546671cce22d4026d4babbd7 /src/ec/lenovo/h8/acpi
parentd8994f8d2ac8855c0a8095873c6d397f334e4ed9 (diff)
ec/lenovo/h8/acpi: Fix wrongly used operator
Commit 37a89d519d4e ("ec/lenovo/h8/acpi: Replace Not() with ASL 2.0 syntax") mixed up boolean and bit-wise operators while replacing Not() with ASL 2.0 syntax. Thus, fix that. Built dsdt.aml of lenovo/x230 and differs, but it remains the same when this commit is applied after commit 37a89d519d4e. Change-Id: Ifa848aafb5480acaac4fabffcf90a3dbf5248e43 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66380 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec/lenovo/h8/acpi')
-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 7c5610607c..622521a9db 100644
--- a/src/ec/lenovo/h8/acpi/thinkpad.asl
+++ b/src/ec/lenovo/h8/acpi/thinkpad.asl
@@ -91,7 +91,7 @@ Device (HKEY)
}
Else
{
- DHKN = DHKN & !Local0
+ DHKN = DHKN & ~Local0
}
If (EN)
{