]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
sof-soundwire: use a single multicodec file for ES9356
author甜瓜果酒 <zuzhenhuang365@gmail.com>
Fri, 9 Oct 2026 03:16:26 +0000 (11:16 +0800)
committerJaroslav Kysela <perex@perex.cz>
Fri, 9 Oct 2026 08:59:33 +0000 (10:59 +0200)
commited3cfff3a980165facc4193099966d11858716ab
treeb32d72d1d690a18fa75a1d4f3499bf0a1d07ee24
parent9cf3e658eb0dea9f2697e9ae290cd15676c2ffc6
sof-soundwire: use a single multicodec file for ES9356

Address review feedback: mark ES9356 as a multicodec codec and keep a single
codec file instead of separate per-function files.

- add es9356 to MultiCodecRegex and the MultiCodecInit probe list
- allow the optional "-spk" suffix in the MultiCodecInit speaker match, like
  the microphone match already allows "-dmic"; this board reports
  "spk:es9356-spk" for the amp function (plus the generic "spk:es9356"), so
  without it SpeakerCodecFile stays "es9356-spk" and the single file is not
  found
- es9356.conf now provides all roles (speaker, headset, internal DMIC)

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/869
Signed-off-by: Zachary Huang <zuzhenhuang365@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/es9356.conf
ucm2/sof-soundwire/sof-soundwire.conf