summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/acpi/dptf/charger.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-26 09:43:07 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-27 09:06:47 +0000
commit9df60d36b2637c500030e7c9cef620002f7f47bf (patch)
treeee8b6e961747141ca37db831680fb3f371e4782a /src/soc/intel/baytrail/acpi/dptf/charger.asl
parent42efd7f593c9d270ff330d1282d9c569d1ec709a (diff)
tree/acpi: Replace constant "Zero" with actual number
Change-Id: I5a3e3506415f424bf0fdd48fc449520a76622af5 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71525 Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail/acpi/dptf/charger.asl')
-rw-r--r--src/soc/intel/baytrail/acpi/dptf/charger.asl2
1 files changed, 1 insertions, 1 deletions
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 {