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>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user