sof-soundwire: Add missing conditional for cs42l43 bridge
When adding support for cs42l43 systems without headphones updating the
bridge configuration was missed. Add the missing conditional guard on
the ConflictingDevice which would fail in systems without headphones.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/778
Fixes: 7585f5e967 ("ucm2: sof-soundwire: cs42l43: support UAJ-less configuration")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9d62696dd0
commit
5d03f3c3e5
1 changed files with 10 additions and 3 deletions
|
|
@ -16,9 +16,16 @@ LibraryConfig.remap.Config {
|
|||
SectionDevice."Speaker" {
|
||||
Comment "Speaker"
|
||||
|
||||
ConflictingDevice [
|
||||
"Headphones"
|
||||
]
|
||||
If.hs_present {
|
||||
Condition {
|
||||
Type String
|
||||
Haystack "${var:HeadsetCodec1}"
|
||||
Needle "cs42l43"
|
||||
}
|
||||
True.ConflictingDevice [
|
||||
"Headphones"
|
||||
]
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cset "name='cs42l43 Speaker L Input 1' 'ASPRX1'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue