aboutsummaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/acpi/thinkpad.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/acpi/thinkpad.asl')
-rw-r--r--src/ec/lenovo/h8/acpi/thinkpad.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ec/lenovo/h8/acpi/thinkpad.asl b/src/ec/lenovo/h8/acpi/thinkpad.asl
index bb2b94a181..e1c979eaae 100644
--- a/src/ec/lenovo/h8/acpi/thinkpad.asl
+++ b/src/ec/lenovo/h8/acpi/thinkpad.asl
@@ -184,9 +184,9 @@ Device (HKEY)
HAST = One
If (HBDC) {
- ShiftRight (Arg0 & 2, 1, Local0)
+ Local0 = (Arg0 & 2) >> 1
\_SB.PCI0.LPCB.EC.BTEB = Local0
- ShiftRight (Arg0 & 4, 2, Local0)
+ Local0 = (Arg0 & 4) >> 2
WBDC = Local0
}
}
@@ -226,9 +226,9 @@ Device (HKEY)
HAST = One
If (HWAN) {
- ShiftRight (Arg0 & 2, 1, Local0)
+ Local0 = (Arg0 & 2) >> 1
\_SB.PCI0.LPCB.EC.WWEB = Local0
- ShiftRight (Arg0 & 4, 2, WWAN)
+ WWAN = (Arg0 & 4) >> 2
}
}
@@ -288,7 +288,7 @@ Device (HKEY)
Method (SUWB, 1)
{
If (HUWB) {
- ShiftRight (Arg0 & 2, 1, Local0)
+ Local0 = (Arg0 & 2) >> 1
\_SB.PCI0.LPCB.EC.UWBE = Local0
}
}