Skip to content

Commit 9f82a09

Browse files
committed
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 <tcrawford@system76.com>
1 parent d98ae80 commit 9f82a09

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/ec/system76/ec/acpi/s76.asl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,6 @@ Device (S76D) {
146146
Local1 = ^^PCI0.LPCB.EC0.RPM2
147147
}
148148
}
149-
If (Local1 != 0) {
150-
// 60 * (EC frequency / 120) / 2
151-
Local1 = 2156250 / Local1
152-
}
153149
Return ((Local1 << 8) | Local0)
154150
}
155151

0 commit comments

Comments
 (0)