From 131a08a8ff918a43d74cc4c53f436e07f9ab7a38 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Mon, 27 Jun 2022 15:05:47 -0500 Subject: [PATCH] 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 --- ucm2/sof-soundwire/rt711.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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" } } -- 2.47.1