]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: sof-soundwire: rt711: use codec volume/switch instead of SOF ones
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 27 Jun 2022 20:05:47 +0000 (15:05 -0500)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Jul 2022 14:48:16 +0000 (16:48 +0200)
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 <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/rt711.conf

index 5300cf99797bb72d3e0bb9cedeb7e46381abf469..63f9d21eba32b51b6514f7d59678692e066ca896 100644 (file)
@@ -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"
        }
 }