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:
Kai Vehmanen 2020-06-10 17:14:16 +03:00 committed by Jaroslav Kysela
commit 4c1189fdcb

View file

@ -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" {