From 9df60d36b2637c500030e7c9cef620002f7f47bf Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 09:43:07 +0100 Subject: tree/acpi: Replace constant "Zero" with actual number Change-Id: I5a3e3506415f424bf0fdd48fc449520a76622af5 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71525 Reviewed-by: Subrata Banik Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/soc/intel/baytrail/acpi/dptf/charger.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/soc/intel/baytrail/acpi/dptf/charger.asl') diff --git a/src/soc/intel/baytrail/acpi/dptf/charger.asl b/src/soc/intel/baytrail/acpi/dptf/charger.asl index d4a92f1af7..44e40646b7 100644 --- a/src/soc/intel/baytrail/acpi/dptf/charger.asl +++ b/src/soc/intel/baytrail/acpi/dptf/charger.asl @@ -30,7 +30,7 @@ Device (TCHG) Local0-- /* Check if charging is disabled (AC removed) */ - If (\PWRS == Zero) { + If (\PWRS == 0) { /* Return last power state */ Return (Local0) } Else { -- cgit v1.2.3