]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
ucm2: sof-soundwire: Correct FixedBootSequence for dmic info
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 10 Dec 2024 09:04:31 +0000 (11:04 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 10 Dec 2024 09:46:17 +0000 (10:46 +0100)
commit003201356388692525a60bbd0da359f97aac99f3
tree8e093cec081b9490114c307590071bb19277e9c2
parent0782bf435b8332833e7b3fc91501d78473dd6edf
ucm2: sof-soundwire: Correct FixedBootSequence for dmic info

Replace the curly brackets with square brackets.
The curly ones break the FixedBootSequence parsing by resetting the
sequence.
If the /var/lib/alsa/card0.conf.d is not present then UCM will fail because
all sequences before the dmic is lost, including the card-init:

# alsactl init
alsa-lib main.c:619:(execute_cfgsave) unable to open file '/var/lib/alsa/card0.conf.d/42-sof-hdmi.conf': No such file or directory
alsa-lib main.c:2456:(set_fixedboot_user) Unable to execute force boot sequence

The full sequence supposed to be:
card-init
ctl-remap
cs42l43
dmic
hdmi

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/485
Fixes: 9fa70add7638 ("sof-hda-dsp,sof-soundwire: add CaptureMicInfoFile fields for dmics")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/sof-soundwire.conf