coreboot/src/ec
Michael Niewöhner d382f3d39f ec/lenovo/h8/acpi: fix wrong calculation
The conversion to ASL 2.0 syntax in commit 81d55cf introduced a
regression triggering a BUG in Linux when reading the battery current.
Correct the wrongly-converted calculation.

Fixes: 81d55cf ("src/ec/lenovo/h8/acpi/battery.asl: Convert to ASL 2.0")
Tested-by: Andrew A. I. <aidron@yandex.ru>
Change-Id: I1cea8f56eb0a674005582c87cad89f10a02d0701
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52144
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-04-08 22:39:20 +00:00
..
51nb/npce985la0dx src: Remove unneeded space in license header 2020-07-26 21:07:36 +00:00
acpi src/ec/acpi/ec.asl: Convert to ASL 2.0 2021-02-09 07:46:40 +00:00
apple/acpi ec/apple: Add ACPI code for Apple MacBooks 2021-02-05 09:39:31 +00:00
compal/ene932 ec/compal: Convert to ASL 2.0 syntax 2021-01-24 21:50:30 +00:00
google ec/google/chromeec: Optionally include SSFC in firmware config 2021-02-27 09:38:02 +00:00
hp/kbc1126 ec/hp/kbc1126: Wait a longer time after sending 2021-02-03 11:52:44 +00:00
kontron ec/kontron/kempld: Reflow long lines 2020-10-11 11:19:07 +00:00
lenovo ec/lenovo/h8/acpi: fix wrong calculation 2021-04-08 22:39:20 +00:00
purism/librem ec/purism/librem/acpi/ec.asl: Convert to ASL 2.0 syntax 2021-01-24 21:16:09 +00:00
quanta src/ec/quanta/ene_kb3940q/acpi/battery.asl: Convert to ASL 2.0 2021-02-10 19:18:09 +00:00
roda/it8518 src: Remove redundant use of ACPI offset(0) 2020-12-03 00:05:52 +00:00
smsc/mec1308 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
system76/ec ec/system76/ec: Add OLED screen toggle 2021-02-27 09:38:19 +00:00
ec.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00