sof-hda-dsp: don't fail if Auto-Mute control is not present
The "Auto-Mute Mode" control is not present in all HDA codecs. The generic SOF HDA UCM file should be robust enough to handle these cases as well. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
2ac33b010c
commit
4c1189fdcb
1 changed files with 11 additions and 3 deletions
|
|
@ -1,9 +1,17 @@
|
|||
# Use case Configuration for sof-hda-dsp
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
cset "name='Auto-Mute Mode' 'Disabled'"
|
||||
]
|
||||
If.automute {
|
||||
Condition {
|
||||
Type ControlExists
|
||||
Control "name='Auto-Mute Mode'"
|
||||
}
|
||||
True {
|
||||
EnableSequence [
|
||||
cset "name='Auto-Mute Mode' 'Disabled'"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SectionDevice."Headphones" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue