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