summaryrefslogtreecommitdiff
path: root/src/soc/intel/elkhartlake
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/elkhartlake')
-rw-r--r--src/soc/intel/elkhartlake/acpi/pch_hda.asl4
-rw-r--r--src/soc/intel/elkhartlake/acpi/xhci.asl2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/elkhartlake/acpi/pch_hda.asl b/src/soc/intel/elkhartlake/acpi/pch_hda.asl
index dd031bff2c..e4ab7fb634 100644
--- a/src/soc/intel/elkhartlake/acpi/pch_hda.asl
+++ b/src/soc/intel/elkhartlake/acpi/pch_hda.asl
@@ -31,12 +31,12 @@ Device (HDAS)
* Function 0: Function Support Query
* Returns a bitmask of functions supported.
*/
- If (Arg2 == Zero) {
+ If (Arg2 == 0) {
/*
* NHLT Query only supported for revision 1 and
* if NHLT address and length are set in NVS.
*/
- If ((Arg1 == 1) && ((NHLA != Zero) && (NHLL != Zero))) {
+ If ((Arg1 == 1) && ((NHLA != 0) && (NHLL != 0))) {
Return (Buffer (1) { 0x03 })
} Else {
Return (Buffer (1) { 0x01 })
diff --git a/src/soc/intel/elkhartlake/acpi/xhci.asl b/src/soc/intel/elkhartlake/acpi/xhci.asl
index fb57065b87..89eaea35d8 100644
--- a/src/soc/intel/elkhartlake/acpi/xhci.asl
+++ b/src/soc/intel/elkhartlake/acpi/xhci.asl
@@ -27,7 +27,7 @@ Device (XHCI)
/* Root Hub for Elkhartlake PCH */
Device (RHUB)
{
- Name (_ADR, Zero)
+ Name (_ADR, 0)
/* USB2 */
Device (HS01) { Name (_ADR, 1) }