aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2019-11-29 09:40:35 +0100
committerJaroslav Kysela <perex@perex.cz>2019-11-29 10:14:30 +0100
commit75b63352352658b2df5f4eacbfb4f70d248646d3 (patch)
tree71b81a4871bbc024e8cc1492f9cca289c2ca783d
parent6ce6cb4f0373e8c0cfd2c265279063f43daebf59 (diff)
sof-hda-dsp: Use more strict check for Input Source (ControlEnum)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--ucm2/sof-hda-dsp/HiFi.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucm2/sof-hda-dsp/HiFi.conf b/ucm2/sof-hda-dsp/HiFi.conf
index 43d8315..392dff8 100644
--- a/ucm2/sof-hda-dsp/HiFi.conf
+++ b/ucm2/sof-hda-dsp/HiFi.conf
@@ -85,6 +85,7 @@ If.monomic {
Condition {
Type ControlExists
Control "name='Input Source'"
+ ControlEnum "Headphone Mic"
}
True {
SectionDevice."HeadphoneMic" {
@@ -95,7 +96,7 @@ If.monomic {
]
EnableSequence [
- cset "name='Input Source' Headphone Mic"
+ cset "name='Input Source' 'Headphone Mic'"
]
Value {