From a213ed659a5a535875166a8a1d1f631dd6c606f7 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Thu, 21 Feb 2019 17:38:03 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/c/31560 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/ec/google/wilco/acpi/ec.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ec/google/wilco/acpi/ec.asl') 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) -- cgit v1.2.3