From e6b24bd7b4d6263bacdfa2785a0d2ee0b3ddddcc Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 1 May 2024 17:28:56 -0600 Subject: [PATCH] ec/system76/ec: Remove RPM calculation This calculation depends on the EC configuration. The EC is now responsible for the calculation, and the RAM values have the actual RPM values. Change-Id: Ifabbcb5922643e218ed7c4984b1d41aee841bb39 Signed-off-by: Tim Crawford --- src/ec/system76/ec/acpi/s76.asl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ec/system76/ec/acpi/s76.asl b/src/ec/system76/ec/acpi/s76.asl index 329c5d3246..06000a4077 100644 --- a/src/ec/system76/ec/acpi/s76.asl +++ b/src/ec/system76/ec/acpi/s76.asl @@ -146,10 +146,6 @@ Device (S76D) { Local1 = ^^PCI0.LPCB.EC0.RPM2 } } - If (Local1 != 0) { - // 60 * (EC frequency / 120) / 2 - Local1 = 2156250 / Local1 - } Return ((Local1 << 8) | Local0) }