]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Topology: NHLT: Intel: Improve error message for DMIC enable conflict
authorSeppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Tue, 14 Jan 2025 14:20:09 +0000 (16:20 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 7 Feb 2025 10:28:02 +0000 (11:28 +0100)
The DMIC HW does not provide all the freedom that topology
syntax appears to provide for DAI configuration. This change
helps to understand better what the error is about.

Closes: https://github.com/alsa-project/alsa-utils/pull/286
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
topology/nhlt/intel/dmic/dmic-process.c

index 2d02289ccc08eb74087272421844f85b91dbdeb7..2db5da4be831f36aef03e8fe8e86d082c2698f19 100644 (file)
@@ -773,7 +773,7 @@ static int configure_registers(struct intel_dmic_params *dmic, struct dmic_calc_
 
        ret = stereo_helper(dmic, stereo, swap, ipmsm);
        if (ret < 0) {
-               fprintf(stderr, "%s: enable conflict\n", __func__);
+               fprintf(stderr, "%s: Microphones enable conflict for DMIC0 and DMIC1 FIFOs\n", __func__);
                return ret;
        }