diff options
author | Duncan Laurie <dlaurie@google.com> | 2019-02-21 17:38:03 -0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-25 11:17:23 +0000 |
commit | a213ed659a5a535875166a8a1d1f631dd6c606f7 (patch) | |
tree | 05d2e377155221cf17d1c7ac61141228030e3125 /src/ec/google/wilco/acpi/ec.asl | |
parent | 47b9e457fa7f80843ee68a6a2daf4115445465c5 (diff) | |
download | coreboot-a213ed659a5a535875166a8a1d1f631dd6c606f7.tar.xz |
ec/google/wilco: Fix ACPI power status events
This change fixes the power status events for AC and battery
events from the EC. The register that was being used is not
returning the expected information.
BUG=b:125472740
TEST=enable ACPI debug in the kernel and verify that AC and
battery insert/remove are detected properly.
Change-Id: I15f71fcf0ca6aa9438e951865787c9fc273792d8
Signed-off-by: Duncan Laurie <dlaurie@google.com>
Reviewed-on: https://review.coreboot.org/c/31560
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/ec/google/wilco/acpi/ec.asl')
-rw-r--r-- | src/ec/google/wilco/acpi/ec.asl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/wilco/acpi/ec.asl b/src/ec/google/wilco/acpi/ec.asl index 5aca1878d6..675ee3778e 100644 --- a/src/ec/google/wilco/acpi/ec.asl +++ b/src/ec/google/wilco/acpi/ec.asl @@ -42,7 +42,7 @@ Device (EC0) EREG = Arg1 /* Store initial value for power status */ - ECPR = R (APWR) + ECPR = R (PWSR) /* Indicate to EC that OS is ready for queries */ W (ERDY, Arg1) |