HDA/HiFi-analog.conf: skip Line2 ConflictingDevice when loctl is empty (Line1 not created)
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/764 Signed-off-by: Ali Alaei <ali.alaei.tabatabaei@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c7d61f3d63
commit
cb1295f697
1 changed files with 9 additions and 3 deletions
|
|
@ -283,9 +283,15 @@ If.linefront {
|
|||
True.SectionDevice."Line2" {
|
||||
Comment "Second Line Output"
|
||||
|
||||
ConflictingDevice [
|
||||
"Line${var:LineDevice}"
|
||||
]
|
||||
If.line1exists {
|
||||
Condition {
|
||||
Type String
|
||||
Empty "${var:loctl}"
|
||||
}
|
||||
False.ConflictingDevice [
|
||||
"Line${var:LineDevice}"
|
||||
]
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cset "name='Front Playback Switch' on"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue