summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/cannonlake')
-rw-r--r--src/soc/intel/cannonlake/acpi/pch_hda.asl6
-rw-r--r--src/soc/intel/cannonlake/acpi/xhci.asl2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/cannonlake/acpi/pch_hda.asl b/src/soc/intel/cannonlake/acpi/pch_hda.asl
index e527c0074d..4941f6a137 100644
--- a/src/soc/intel/cannonlake/acpi/pch_hda.asl
+++ b/src/soc/intel/cannonlake/acpi/pch_hda.asl
@@ -37,9 +37,9 @@ Device (HDAS)
* if NHLT address and length are set in NVS.
*/
If (Arg1 == 1 && NHLA != 0 && NHLL != 0) {
- Return (Buffer (One) { 0x03 })
+ Return (Buffer (1) { 0x03 })
} Else {
- Return (Buffer (One) { 0x01 })
+ Return (Buffer (1) { 0x01 })
}
}
@@ -63,6 +63,6 @@ Device (HDAS)
}
}
- Return (Buffer (One) { 0x00 })
+ Return (Buffer (1) { 0x00 })
}
}
diff --git a/src/soc/intel/cannonlake/acpi/xhci.asl b/src/soc/intel/cannonlake/acpi/xhci.asl
index 52fdcbe30e..20a56debf9 100644
--- a/src/soc/intel/cannonlake/acpi/xhci.asl
+++ b/src/soc/intel/cannonlake/acpi/xhci.asl
@@ -46,7 +46,7 @@ Method (UWES, 3, Serialized)
{
Local0 = Arg0
- While (One) {
+ While (1) {
FindSetRightBit (Local0, Local1)
If (Local1 == Zero) {
Break