Skip to content

Commit a0fbb5f

Browse files
committed
ALSA: intel-nhlt: lower intel_nhlt_ssp_device_type log level
intel_nhlt_ssp_device_type() is called multiple times with different nhlt. We will find the SSP device type from one of the nhlt. It is not an error if one of the nhlt doesn't contain the SSP endpoint. Signed-off-by: Bard Liao <[email protected]>
1 parent 77371f2 commit a0fbb5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/hda/core/intel-nhlt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ int intel_nhlt_ssp_device_type(struct device *dev, struct nhlt_acpi_table *nhlt,
351351
int i;
352352

353353
if (!nhlt) {
354-
dev_err(dev, "%s: NHLT table is missing (query for SSP%d)\n",
354+
dev_dbg(dev, "%s: NHLT table is missing (query for SSP%d)\n",
355355
__func__, virtual_bus_id);
356356
return -EINVAL;
357357
}
@@ -369,7 +369,7 @@ int intel_nhlt_ssp_device_type(struct device *dev, struct nhlt_acpi_table *nhlt,
369369
epnt = (struct nhlt_endpoint *)((u8 *)epnt + epnt->length);
370370
}
371371

372-
dev_err(dev, "%s: No match for SSP%d in NHLT table\n", __func__,
372+
dev_dbg(dev, "%s: No match for SSP%d in NHLT table\n", __func__,
373373
virtual_bus_id);
374374

375375
dev_dbg(dev, "Available endpoints:\n");

0 commit comments

Comments
 (0)