]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
sof-hda-dsp: Use more strict names according latest use-case.h
authorJaroslav Kysela <perex@perex.cz>
Fri, 6 Dec 2019 10:12:39 +0000 (11:12 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 6 Dec 2019 10:13:22 +0000 (11:13 +0100)
Also remove ConflictinDevice section from the digital microphone.
Those paths are independent.

BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/7
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-hda-dsp/HiFi.conf

index 500cbae82a43b207367ddfdb6be7bfea9ed2e540..5c7236d7bd02f889a217c98cfdb0c4aa08e42cf6 100644 (file)
@@ -6,7 +6,7 @@ SectionVerb {
        ]
 }
 
-SectionDevice."Headphones" {
+SectionDevice."Headphones1" {
        Comment "Headphones"
 
        EnableSequence [
@@ -87,8 +87,9 @@ If.monomic {
                Control "name='Input Source'"
                ControlEnum "Headphone Mic"
        }
+       After.SectionDevice "Mic"
        True {
-               SectionDevice."HeadphonesMic" {
+               SectionDevice."Headphones2" {
                        Comment "Headphones Stereo Microphone"
 
                        ConflictingDevice [
@@ -106,7 +107,7 @@ If.monomic {
                        }
                }
 
-               SectionDevice."HeadsetMic" {
+               SectionDevice."Headset" {
                        Comment "Headset Mono Microphone"
 
                        EnableSequence [
@@ -121,7 +122,7 @@ If.monomic {
                }
        }
        False {
-               SectionDevice."HeadphonesMic" {
+               SectionDevice."Headphones2" {
                        Comment "Headphones Stereo Microphone"
 
                        Value {
@@ -133,13 +134,9 @@ If.monomic {
        }
 }
 
-SectionDevice."DigitalMic" {
+SectionDevice."Mic" {
        Comment "Digital Microphone"
 
-       ConflictingDevice [
-               "HeadsetMic"
-       ]
-
        Value {
                CapturePriority 100
                CapturePCM "hw:${CardId},6"