summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/cannonlake/acpi/gpio.asl2
-rw-r--r--src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/cannonlake/acpi/gpio.asl b/src/soc/intel/cannonlake/acpi/gpio.asl
index 3249954bd0..265bcfb953 100644
--- a/src/soc/intel/cannonlake/acpi/gpio.asl
+++ b/src/soc/intel/cannonlake/acpi/gpio.asl
@@ -92,7 +92,7 @@ Method (GADD, 1, NotSerialized)
}
Store (PCRB (Local0), Local2)
Local2 += PAD_CFG_BASE
- Return (Local2 + Multiply (Local1, 16))
+ Return (Local2 + Local1 * 16)
}
/*
diff --git a/src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl b/src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl
index 9122e65fc4..f60fd5618a 100644
--- a/src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl
+++ b/src/soc/intel/cannonlake/acpi/gpio_cnp_h.asl
@@ -92,5 +92,5 @@ Method (GADD, 1, NotSerialized)
}
Store (PCRB (Local0), Local2)
Local2 += PAD_CFG_BASE
- Return (Local2 + Multiply (Local1, 16))
+ Return (Local2 + Local1 * 16)
}