summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/icelake/acpi')
-rw-r--r--src/soc/intel/icelake/acpi/pch_hda.asl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/icelake/acpi/pch_hda.asl b/src/soc/intel/icelake/acpi/pch_hda.asl
index 1073f37ae8..b3b5270186 100644
--- a/src/soc/intel/icelake/acpi/pch_hda.asl
+++ b/src/soc/intel/icelake/acpi/pch_hda.asl
@@ -36,8 +36,7 @@ Device (HDAS)
* NHLT Query only supported for revision 1 and
* if NHLT address and length are set in NVS.
*/
- If (LAnd (Arg1 == One,
- LAnd (NHLA != Zero, NHLL != Zero))) {
+ If (Arg1 == One && NHLA != Zero && NHLL != Zero) {
Return (Buffer (One) { 0x03 })
} Else {
Return (Buffer (One) { 0x01 })