commit | 6119303a39d7dc082839f2fbe0bf27d971f708d7 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Sat Jan 01 23:38:07 2022 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Thu Jun 09 09:13:15 2022 +0000 |
tree | 6d8a1e4fa99cd88763a52850431c92bf7b80c405 | |
parent | c0ce14cc04550e1ecc871c100ab1e8114e23e0c4 [diff] |
ec/kontron/it8516e/acpi: Replace Multiply(a,b,c) with ASL 2.0 syntax Replace `Multiply (a, b, c)` with `c = a * b`. Change-Id: I81e976de964f6ae3528884debaf2b24ddf8ed28a Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60648 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
diff --git a/src/ec/kontron/it8516e/acpi/pm_channels.asl b/src/ec/kontron/it8516e/acpi/pm_channels.asl index 0ac0467..5df72c0 100644 --- a/src/ec/kontron/it8516e/acpi/pm_channels.asl +++ b/src/ec/kontron/it8516e/acpi/pm_channels.asl
@@ -35,7 +35,7 @@ If (And (Local0, EC_ERROR_MASK)) { Return (0) } - Multiply (Local0, 10, Local0) /* Convert to 10th °C */ + Local0 *= 10 Return (Local0 + 2732) /* Return as 10th Kelvin */ } }