]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
sof-hda-dsp: fix the volume/switch values in HiFi
authorJaroslav Kysela <perex@perex.cz>
Sat, 2 Nov 2019 08:43:00 +0000 (09:43 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 4 Nov 2019 09:03:40 +0000 (10:03 +0100)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm/sof-hda-dsp/HiFi.conf

index 4ca447dd1e98484be4487d35f079eb651a2bb45f..244bff6bfc65c547f34bad07c7bd29e63b19d8d2 100644 (file)
@@ -27,8 +27,8 @@ SectionDevice."Headphone" {
 
        Value {
                PlaybackPCM "hw:sofhdadsp,0"
-               PlaybackVolume "Headphone"
-               PlaybackSwitch "Headphone Playback Switch"
+               PlaybackVolume "name='Headphone'"
+               PlaybackSwitch "name='Headphone Playback Switch'"
                PlaybackChannels "2"
                JackName "sof-hda-dsp Headphone"
                JackType "gpio"
@@ -52,8 +52,8 @@ SectionDevice."Speaker" {
 
        Value {
                PlaybackPCM "hw:sofhdadsp,0"
-               PlaybackVolume "Speaker"
-               PlaybackSwitch "Speaker Playback Switch"
+               PlaybackVolume "name='Speaker'"
+               PlaybackSwitch "name='Speaker Playback Switch'"
                JackHWMute "Headphone"
                PlaybackChannels "2"
        }
@@ -76,8 +76,8 @@ SectionDevice."HeadsetMic" {
 
        Value {
                CapturePCM "hw:sofhdadsp,0"
-               CaptureVolume "Capture"
-               CaptureSwitch "Capture Switch"
+               CaptureVolume "name='Capture'"
+               CaptureSwitch "name='Capture Switch'"
                CaptureChannels "2"
                JackControl "Mic Jack"
        }
@@ -100,8 +100,8 @@ SectionDevice."DigitalMic" {
 
        Value {
                CapturePCM "hw:sofhdadsp,6"
-               CaptureVolume "Dmic0 Capture Volume"
-               CaptureSwitch "Dmic0 Capture Switch"
+               CaptureVolume "name='Dmic0 Capture Volume'"
+               CaptureSwitch "name='Dmic0 Capture Switch'"
                CaptureChannels "2"
        }
 }