Skip to content

Commit

Permalink
ec/system76/ec: Remove RPM calculation
Browse files Browse the repository at this point in the history
System76 EC since system76/ec#456 performs the RPM calculation itself
and stores it in EC RAM where previously the raw tachometer values were
saved. The SBIOS is no longer required to make the conversion.

Ref: system76/ec#456
Change-Id: I82a4e25a8ce0f274b2d98e7ff2b12595acf6c3c5
Signed-off-by: Tim Crawford <[email protected]>
  • Loading branch information
crawfxrd committed Jul 2, 2024
1 parent 99bed46 commit 8c86b24
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 8c86b24

Please sign in to comment.