diff options
Diffstat (limited to 'src/ec/smsc')
-rw-r--r-- | src/ec/smsc/mec1308/acpi/battery.asl | 4 | ||||
-rw-r--r-- | src/ec/smsc/mec1308/acpi/ec.asl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl index 2aa5acea71..59d6c4f69e 100644 --- a/src/ec/smsc/mec1308/acpi/battery.asl +++ b/src/ec/smsc/mec1308/acpi/battery.asl @@ -135,7 +135,7 @@ Device (BAT0) Store (SWAB (BTPR), Local1) If (LNotEqual (Local1, 0xFFFFFFFF) && LGreaterEqual (Local1, 0x8000)) { Xor (Local1, 0xFFFF, Local1) - Increment (Local1) + Local1++ } Store (Local1, PBST[1]) @@ -145,7 +145,7 @@ Device (BAT0) Store (SWAB (BTRA), Local1) If (LNotEqual (Local1, 0xFFFFFFFF) && LGreaterEqual (Local1, 0x8000)) { Xor (Local1, 0xFFFF, Local1) - Increment (Local1) + Local1++ } If (BFWK && ACEX && LNot (Local0)) { diff --git a/src/ec/smsc/mec1308/acpi/ec.asl b/src/ec/smsc/mec1308/acpi/ec.asl index c7b180dc3e..23b4c692d6 100644 --- a/src/ec/smsc/mec1308/acpi/ec.asl +++ b/src/ec/smsc/mec1308/acpi/ec.asl @@ -69,7 +69,7 @@ Device (EC0) // Force a read of CPU temperature Store (CPUT, Local0) /* So that we don't get a warning that Local0 is unused. */ - Increment (Local0) + Local0++ } PowerResource (FNP0, 0, 0) |