]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: sof-soundwire: rt711-sdca: use codec volume/switch consistently
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 27 Jun 2022 20:07:43 +0000 (15:07 -0500)
committerJaroslav Kysela <perex@perex.cz>
Fri, 8 Jul 2022 14:48:39 +0000 (16:48 +0200)
We already use

CaptureSwitch "rt711 FU0F Capture Switch"
CaptureVolume "rt711 FU0F Capture Volume"

but the enable/disable sequences used the SOF 'PGA2.0 2 Master Capture
Switch'

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-sdca.conf

index 3006dc9c826713d2e532ea47ad320c714447c0e4..a8e555ef7abf7936b4b453fc3bb804d363f5edfe 100644 (file)
@@ -22,11 +22,11 @@ SectionDevice."Headset" {
        Comment "Headset Microphone"
 
        EnableSequence [
-               cset "name='PGA2.0 2 Master Capture Switch' 1"
+               cset "name='rt711 FU0F Capture Switch' 1"
        ]
 
        DisableSequence [
-               cset "name='PGA2.0 2 Master Capture Switch' 0"
+               cset "name='rt711 FU0F Capture Switch' 0"
        ]
 
        Value {