]> git.alsa-project.org Git - alsa-utils.git/commit
topology: nhlt: Fix dmic configuration blob building
authorJyri Sarha <jyri.sarha@linux.intel.com>
Wed, 27 Dec 2023 17:18:45 +0000 (19:18 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 24 Jan 2024 17:34:22 +0000 (18:34 +0100)
commit6eb1eb504719637a2bd56ecab4d236e010ee1414
tree538702f11c86b1752cd44e672a4654641d64c32f
parente7a02f3872ec47b16c07aa39c596e5a633da30be
topology: nhlt: Fix dmic configuration blob building

The dmic configuration functions are called for each dmic DAI (or
FIFO) separately, and each dmic DAI is configured in their own
configuration rounds. However, the later configured dmic FIFO may
change the common clock divider and thus affect the FIR configuration
of the first configured DAI. However, the first configured FIR blob is
not touched after it is configured for the first time.

To overcome this problem always check the both FIR configurations, no
matter which DAI we are configuring.

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