diff options
author | Martin Roth <martinroth@google.com> | 2018-05-06 21:08:37 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-05-15 15:43:41 +0000 |
commit | 5dbe8ee7259d72ddfa2c273e2d8fca70addbf6bc (patch) | |
tree | 424d8c43d8ad6dcdadaf7dd7fae71d455f763835 | |
parent | 782c910e867d37867be7459f7619155b24be35e7 (diff) |
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 <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/26125
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rw-r--r-- | src/drivers/intel/gma/acpi/common.asl | 2 | ||||
-rw-r--r-- | 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) |