ec/purism/librem: fix topstar driver ERAM mapping
commit1f9112f798c127fc9fa50f6f927dcea84baa1845
authorMatt DeVillier <matt.devillier@puri.sm>
Mon, 24 Feb 2020 20:43:13 +0000 (24 14:43 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 26 Feb 2020 17:08:08 +0000 (26 17:08 +0000)
tree67f972dc979da02fa5f9e73170df5228f8b9bb02
parentd5a67aa4a46bdb7e1a70c6a429a63bacf4bbc9db
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>
src/ec/purism/librem/acpi/ec.asl