Skip to content

[BUG] topology sof-bdw-codec.m4 (sof-bdw-rt5640.conf) #2201

@perexg

Description

@perexg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BDWBroadwellbugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions