diff options
-rw-r--r-- | src/soc/intel/apollolake/acpi/gpiolib.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/acpi/gpiolib.asl b/src/soc/intel/apollolake/acpi/gpiolib.asl index 89f647e0e9..31599f2553 100644 --- a/src/soc/intel/apollolake/acpi/gpiolib.asl +++ b/src/soc/intel/apollolake/acpi/gpiolib.asl @@ -68,7 +68,7 @@ Scope (\_SB) Method (CHSA, 0x1, Serialized) { /* Arg0 - GPIO pad offset relative to the community */ - Local1 = HOSTSW_OWN_REG_0 + Divide (Arg0, 32) * 4 + Local1 = HOSTSW_OWN_REG_0 + Arg0 / 32 * 4 Return (Local1) } |