From: Pierre-Louis Bossart Date: Mon, 27 Jun 2022 20:05:47 +0000 (-0500) Subject: ucm2: sof-soundwire: rt711: use codec volume/switch instead of SOF ones X-Git-Tag: v1.2.7.2~7 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=131a08a8ff918a43d74cc4c53f436e07f9ab7a38;p=alsa-ucm-conf.git ucm2: sof-soundwire: rt711: use codec volume/switch instead of SOF ones When possible, it's better to use the codec volume and switch. The firmware PGA is provided mostly for testing. Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/180 Signed-off-by: Pierre-Louis Bossart Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/sof-soundwire/rt711.conf b/ucm2/sof-soundwire/rt711.conf index 5300cf9..63f9d21 100644 --- a/ucm2/sof-soundwire/rt711.conf +++ b/ucm2/sof-soundwire/rt711.conf @@ -22,18 +22,18 @@ SectionDevice."Headset" { Comment "Headset Microphone" EnableSequence [ - cset "name='PGA2.0 2 Master Capture Switch' 1" + cset "name='rt711 ADC 08 Capture Switch' 1" ] DisableSequence [ - cset "name='PGA2.0 2 Master Capture Switch' 0" + cset "name='rt711 ADC 08 Capture Switch' 0" ] Value { CapturePriority 200 CapturePCM "hw:${CardId},1" JackControl "Headset Mic Jack" - CaptureSwitch "PGA2.0 2 Master Capture Switch" - CaptureVolume "PGA2.0 2 Master Capture Volume" + CaptureSwitch "rt711 ADC 08 Capture Switch" + CaptureVolume "rt711 ADC 08 Capture Volume" } }