]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
sof-soundwire: set PGA capture switch for rt715 mic in BootSequence
authorJaroslav Kysela <perex@perex.cz>
Mon, 26 Dec 2022 08:20:51 +0000 (09:20 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 26 Dec 2022 08:21:13 +0000 (09:21 +0100)
Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/255
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/sof-soundwire.conf

index 03df16cf3264b637070b6f41f5ff06205ec637b4..bdc48ffab734526845c7eff91cf4c1df0088daed 100644 (file)
@@ -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"
+       ]
+}