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.asl2
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 114a10c36c..a98117126b 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -175,7 +175,7 @@ Method (BBST, 4, Serialized)
// Check for critical battery level
If (BFCR) {
- Or (Local1, 0x04, Local1)
+ Local1 |= 4
}
Arg1[0] = Local1
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 7a17c54cfc..59f14d1d08 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -621,7 +621,7 @@ Device (EC0)
*/
Method (UPPS, 1, Serialized)
{
- Or (USPP, 1 << Arg0, USPP)
+ USPP |= 1 << Arg0
}
/*