-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
Description
It seems that there are two merged compound blocks SectionGraph.SSP0 in sof-bdw-rt5640.conf:
SectionGraph."SSP0" {
index "1"
lines [
"SSP0.OUT, , BUF1.3"
]
}
SectionGraph."SSP0" {
index "2"
lines [
"BUF2.0, , SSP0.IN"
]
}
The current configuration loader (alsatplg) parses this like:
SectionGraph.SSP0 {
index '2'
lines {
0 'SSP0.OUT, , BUF1.3'
0 'BUF2.0, , SSP0.IN'
}
}
It's definitely wrong, because the compounds must have unique keys, so after I fixed that in alsa-lib, the result is like:
SectionGraph.SSP0 {
index '2'
lines {
0 'SSP0.OUT, , BUF1.3'
1 'BUF2.0, , SSP0.IN'
}
}
But the index field is merged (the default parser mode), of course. It looks like an issue.