Skip to content

Commit

Permalink
ec/system76/ec: Remove RPM calculation
Browse files Browse the repository at this point in the history
This calculation is depending on several EC configurations. It is now
done in the EC itself and the RAM values have the actual RPM values.

Change-Id: Ifabbcb5922643e218ed7c4984b1d41aee841bb39
Signed-off-by: Tim Crawford <[email protected]>
  • Loading branch information
crawfxrd committed May 1, 2024
1 parent 6a6f7f8 commit 4dddc63
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ec/system76/ec/acpi/s76.asl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 4dddc63

Please sign in to comment.