From 1f9112f798c127fc9fa50f6f927dcea84baa1845 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 24 Feb 2020 14:43:13 -0600 Subject: 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 Change-Id: Ibc3c39d5b14c753eed6d1ed8cbf161717f8d04e0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39105 Reviewed-by: Paul Menzel Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/ec/purism/librem/acpi/ec.asl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ec/purism') 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, -- cgit v1.2.3