diff -Nru alsa-ucm-conf-1.2.6.3/debian/changelog alsa-ucm-conf-1.2.6.3/debian/changelog --- alsa-ucm-conf-1.2.6.3/debian/changelog 2022-10-11 08:09:17.000000000 +0000 +++ alsa-ucm-conf-1.2.6.3/debian/changelog 2022-12-26 08:50:47.000000000 +0000 @@ -1,3 +1,9 @@ +alsa-ucm-conf (1.2.6.3-1ubuntu1.2) jammy; urgency=medium + + * debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-in-Boo.patch (LP: #2000465) + + -- Andy Chi Mon, 26 Dec 2022 16:50:47 +0800 + alsa-ucm-conf (1.2.6.3-1ubuntu1.1) jammy; urgency=medium * Backport patch to fix sof-hda-dsp Dmic0 initial. (LP: #1992435) diff -Nru alsa-ucm-conf-1.2.6.3/debian/patches/series alsa-ucm-conf-1.2.6.3/debian/patches/series --- alsa-ucm-conf-1.2.6.3/debian/patches/series 2022-10-11 08:09:17.000000000 +0000 +++ alsa-ucm-conf-1.2.6.3/debian/patches/series 2022-12-26 08:48:29.000000000 +0000 @@ -4,3 +4,4 @@ 0004-HDA-acp-avoid-to-create-Mic-ACP-LED-control-for-the-.patch 0005-acp6x-add-initial-support-for-AMD-Yellow-Carp-ACP6x.patch sof-hda-dsp-fix-multiple-If.dmic-blocks.patch +sof-soundwire-set-PGA-capture-switch-for-rt715-mic-in-Boo.patch diff -Nru alsa-ucm-conf-1.2.6.3/debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-in-Boo.patch alsa-ucm-conf-1.2.6.3/debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-in-Boo.patch --- alsa-ucm-conf-1.2.6.3/debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-in-Boo.patch 1970-01-01 00:00:00.000000000 +0000 +++ alsa-ucm-conf-1.2.6.3/debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-in-Boo.patch 2022-12-26 08:48:29.000000000 +0000 @@ -0,0 +1,29 @@ +From: Jaroslav Kysela +Date: Mon, 26 Dec 2022 09:20:51 +0100 +Subject: sof-soundwire: set PGA capture switch for rt715 mic in BootSequence + +Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/255 +Signed-off-by: Jaroslav Kysela +--- + ucm2/sof-soundwire/sof-soundwire.conf | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/ucm2/sof-soundwire/sof-soundwire.conf b/ucm2/sof-soundwire/sof-soundwire.conf +index 2442854..f59aa7d 100644 +--- a/ucm2/sof-soundwire/sof-soundwire.conf ++++ b/ucm2/sof-soundwire/sof-soundwire.conf +@@ -61,3 +61,14 @@ If.mic_init { + } + True.Include.mic_init.File "/codecs/${var:MicCodec1}/init.conf" + } ++ ++If.mic_init_rt715 { ++ Condition { ++ Type String ++ Needle "rt715" ++ Haystack "${var:MicCodec1}" ++ } ++ True.BootSequence [ ++ cset "name='PGA5.0 5 Master Capture Switch' 1" ++ ] ++}