From: Jaroslav Kysela Date: Mon, 26 Dec 2022 08:20:51 +0000 (+0100) Subject: sof-soundwire: set PGA capture switch for rt715 mic in BootSequence X-Git-Tag: v1.2.9~46 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e395d7b743584cba60876b6356fb3bc7834992aa;p=alsa-ucm-conf.git 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 --- diff --git a/ucm2/sof-soundwire/sof-soundwire.conf b/ucm2/sof-soundwire/sof-soundwire.conf index 03df16c..bdc48ff 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" + ] +}