From dfbb634ae16065811894d67ff802c1e838ce0749 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 26 Dec 2022 08:39:35 +0100 Subject: mainboard/acpi: Replace constant "One" with actual number Change-Id: Id1078b14a805eea53d2a7c5a8183a5413f26e115 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/71521 Reviewed-by: Elyes Haouas Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mainboard/google/cyan/acpi') diff --git a/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl b/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl index 4759dbb019..95f2d4391c 100644 --- a/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl +++ b/src/mainboard/google/cyan/acpi/touchscreen_synaptics.asl @@ -19,30 +19,30 @@ Scope (\_SB.PCI0.I2C1) // DSM Revision If (Arg2 == Zero) { - If (Arg1 == One) + If (Arg1 == 1) { - Return (Buffer (One) + Return (Buffer (1) { 0x03 }) } Else { - Return (Buffer (One) + Return (Buffer (1) { 0x00 }) } } // HID Function - If (Arg2 == One) + If (Arg2 == 1) { Return (0x20) } } Else { - Return (Buffer (One) + Return (Buffer (1) { 0x00 }) -- cgit v1.2.3