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 16:09:17.000000000 +0800 +++ alsa-ucm-conf-1.2.6.3/debian/changelog 2022-12-27 10:04:53.000000000 +0800 @@ -1,3 +1,9 @@ +alsa-ucm-conf (1.2.6.3-1ubuntu3) kinetic; urgency=medium + + * debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-i.patch (LP: #2000465) + + -- Andy Chi Tue, 27 Dec 2022 10:04:53 +0800 + alsa-ucm-conf (1.2.6.3-1ubuntu2) kinetic; 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 16:09:17.000000000 +0800 +++ alsa-ucm-conf-1.2.6.3/debian/patches/series 2022-12-27 10:03:32.000000000 +0800 @@ -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-i.patch diff -Nru alsa-ucm-conf-1.2.6.3/debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-i.patch alsa-ucm-conf-1.2.6.3/debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-i.patch --- alsa-ucm-conf-1.2.6.3/debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-i.patch 1970-01-01 08:00:00.000000000 +0800 +++ alsa-ucm-conf-1.2.6.3/debian/patches/sof-soundwire-set-PGA-capture-switch-for-rt715-mic-i.patch 2022-12-27 10:03:37.000000000 +0800 @@ -0,0 +1,31 @@ +From e395d7b743584cba60876b6356fb3bc7834992aa Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Mon, 26 Dec 2022 09:20:51 +0100 +Subject: [PATCH] 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(+) + +Index: alsa-ucm-conf/ucm2/sof-soundwire/sof-soundwire.conf +=================================================================== +--- alsa-ucm-conf.orig/ucm2/sof-soundwire/sof-soundwire.conf ++++ alsa-ucm-conf/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" ++ ] ++}