summaryrefslogtreecommitdiff
path: root/src/ec/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google')
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 1ff50991c0..025339540f 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -194,7 +194,7 @@ Method (BBST, 4, Serialized)
Store (Local1, Index (Arg1, 0))
// Notify if battery state has changed since last time
- If (LNotEqual (Local1, Arg2)) {
+ If (LNotEqual (Local1, DeRefOf (Arg2))) {
Store (Local1, Arg2)
If (LEqual(Arg0, 0)) {
Notify (BAT0, 0x80)
@@ -326,7 +326,7 @@ Device (BAT0)
Method (_BST, 0, Serialized)
{
- Return (BBST (0, PBST, BSTP, BFWK))
+ Return (BBST (0, PBST, RefOf (BSTP), BFWK))
}
}
@@ -416,7 +416,7 @@ Device (BAT1)
Method (_BST, 0, Serialized)
{
- Return (BBST (1, PBST, BSTP, BFWK))
+ Return (BBST (1, PBST, RefOf (BSTP), BFWK))
}
}
#endif