summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec')
-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 8cbe7105f6..ce4462debf 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -201,7 +201,7 @@ Method (BBST, 4, Serialized)
// 2: BATTERY REMAINING CAPACITY
//
Store (BTRA, Local1)
- If (Arg3 && ACEX && LNot (BFDC && BFCG)) {
+ If (Arg3 && ACEX && !(BFDC && BFCG)) {
// On AC power and battery is neither charging
// nor discharging. Linux expects a full battery
// to report same capacity as last full charge.
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index 10d930d37d..69d608b65c 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -489,7 +489,7 @@ Device (EC0)
*/
Method (_Q09, 0, NotSerialized)
{
- If (LNot(Acquire (^PATM, 1000))) {
+ If (!Acquire (^PATM, 1000)) {
/* Read sensor ID for event */
Store (^PATI, Local0)