summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@puri.sm>2020-02-24 14:43:13 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-02-26 17:08:08 +0000
commit1f9112f798c127fc9fa50f6f927dcea84baa1845 (patch)
tree67f972dc979da02fa5f9e73170df5228f8b9bb02
parentd5a67aa4a46bdb7e1a70c6a429a63bacf4bbc9db (diff)
ec/purism/librem: fix topstar driver ERAM mapping
Correct the offset for the Topstar driver enable/disable bit, which was off by 2 bits compared to a dump of the AMI UEFI ACPI. This prevents the fan mode (FANM) from being inadvertently changed and hopefully fixes some intermittent issues with fan speed on resume from suspend. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm> Change-Id: Ibc3c39d5b14c753eed6d1ed8cbf161717f8d04e0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39105 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/ec/purism/librem/acpi/ec.asl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ec/purism/librem/acpi/ec.asl b/src/ec/purism/librem/acpi/ec.asl
index 6f6ced1b5c..b564727614 100644
--- a/src/ec/purism/librem/acpi/ec.asl
+++ b/src/ec/purism/librem/acpi/ec.asl
@@ -65,6 +65,7 @@ Device (EC)
BTLE, 1, /* Bluetooth Enable/Disable */
Offset (0x25),
, 5,
+ FANM, 2,
TPSE, 1, /* topstar-laptop driver enable/disable */
Offset (0x31),
, 6,