]> git.alsa-project.org Git - alsa-utils.git/commit
topology: plugins: nhlt: fix intel dmic mode calculation
authorJaska Uimonen <jaska.uimonen@linux.intel.com>
Fri, 20 May 2022 04:51:37 +0000 (07:51 +0300)
committerJaroslav Kysela <perex@perex.cz>
Tue, 31 May 2022 12:10:25 +0000 (14:10 +0200)
commit96ddc346e0e11c4e119fafe9cbb8a154e6596228
treee909e43f57fd26396d32aa963e539ade913eea15
parent4b959a447aa1e9ce8d0076fc59fa71ff15f025c3
topology: plugins: nhlt: fix intel dmic mode calculation

Dmic find_modes function was used with same sampling rate for both fifo
a and b parameter calculations. This bug was found in testing two
simultaneous dmic dais in topology. Fix this by introducing a sampling
rate argument for find_modes.

Fixes: https://github.com/alsa-project/alsa-utils/pull/148
Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
topology/nhlt/intel/dmic/dmic-process.c