From 1538d15e5cb70d3ee6e6d776dfbf4839bba4222d Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Wed, 3 Aug 2022 01:31:30 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66380 Reviewed-by: Angel Pons Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/ec/lenovo/h8/acpi/thinkpad.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3