diff --git a/ucm2/conf.d/amd-soundwire/amd-soundwire.conf b/ucm2/conf.d/amd-soundwire/amd-soundwire.conf new file mode 120000 index 00000000..0d00b73f --- /dev/null +++ b/ucm2/conf.d/amd-soundwire/amd-soundwire.conf @@ -0,0 +1 @@ +../../sof-soundwire/sof-soundwire.conf \ No newline at end of file diff --git a/ucm2/sof-soundwire/rt722.conf b/ucm2/sof-soundwire/rt722.conf index a54664ec..a4a431b2 100644 --- a/ucm2/sof-soundwire/rt722.conf +++ b/ucm2/sof-soundwire/rt722.conf @@ -86,6 +86,21 @@ SectionDevice."Headset" { cset "name='rt722 FU0F Capture Switch' 0" ] + If.hsmicsw { + Condition { + Type ControlExists + Control "name='Headset Mic Switch'" + } + True { + EnableSequence [ + cset "name='Headset Mic Switch' on" + ] + DisableSequence [ + cset "name='Headset Mic Switch' off" + ] + } + } + Value { CapturePriority 200 CapturePCM "hw:${CardId},1"