From 5dbe8ee7259d72ddfa2c273e2d8fca70addbf6bc Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sun, 6 May 2018 21:08:37 -0500 Subject: [PATCH] ACPI: Set the correct number of arguments in ACPI methods These methods had unused arguments and could be corrected by setting the correct number in the method initializer. Change-Id: I86606cfa1c391e2221cee31994e83667fa9ead61 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/26125 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Paul Menzel --- src/drivers/intel/gma/acpi/common.asl | 2 +- src/mainboard/getac/p470/acpi/ec.asl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/intel/gma/acpi/common.asl b/src/drivers/intel/gma/acpi/common.asl index dd294fe93d..7415859d5c 100644 --- a/src/drivers/intel/gma/acpi/common.asl +++ b/src/drivers/intel/gma/acpi/common.asl @@ -97,7 +97,7 @@ } /* Device Set State */ - Method(XDSS, 2) + Method(XDSS, 1) { /* If Parameter Arg0 is (1 << 31) | (1 << 30), the * display switch was completed diff --git a/src/mainboard/getac/p470/acpi/ec.asl b/src/mainboard/getac/p470/acpi/ec.asl index 7420d4ae3f..3c6cecfbbb 100644 --- a/src/mainboard/getac/p470/acpi/ec.asl +++ b/src/mainboard/getac/p470/acpi/ec.asl @@ -547,7 +547,7 @@ Scope(\_SB) } /* Set DKD */ - Method(SDKD, 1, Serialized) + Method(SDKD, 0, Serialized) { TRAP(0xda) Return (0)