summaryrefslogtreecommitdiff
path: root/src/ec/smsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/smsc')
-rw-r--r--src/ec/smsc/mec1308/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl
index dbccf0fa21..fad52d2091 100644
--- a/src/ec/smsc/mec1308/acpi/battery.asl
+++ b/src/ec/smsc/mec1308/acpi/battery.asl
@@ -60,7 +60,7 @@ Device (BAT0)
Method (SWAB, 1, NotSerialized)
{
Local0 = Arg0 >> 8
- ShiftLeft (Arg0, 8, Local1)
+ Local1 = Arg0 << 8
And (Local1, 0xFF00, Local1)
Or (Local0, Local1, Local0)
If (Local0 == 0xFFFF) {