Commit fbea2d8
committed
ASoC: SOF: ipc4-topology: Always validate the input audio format on fmt init
Even if there is a single format supported by the module on it's input, it
must be validated that it is matching with the reference parameters.
The DAI copier's DAI side reference is adjusted to the formats it supports,
but modules deep within the path might have incorrect configuration in
topology (single format which is not matching with the previous module's
output for example). This should be reported as errors and not silently
accepted.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>1 parent 86aa6e9 commit fbea2d8
1 file changed
+7
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1566 | 1566 | | |
1567 | 1567 | | |
1568 | 1568 | | |
1569 | | - | |
1570 | 1569 | | |
1571 | 1570 | | |
1572 | 1571 | | |
| |||
1576 | 1575 | | |
1577 | 1576 | | |
1578 | 1577 | | |
1579 | | - | |
1580 | | - | |
1581 | | - | |
1582 | | - | |
1583 | 1578 | | |
1584 | 1579 | | |
1585 | 1580 | | |
| |||
1604 | 1599 | | |
1605 | 1600 | | |
1606 | 1601 | | |
1607 | | - | |
| 1602 | + | |
1608 | 1603 | | |
1609 | 1604 | | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
1617 | 1611 | | |
1618 | 1612 | | |
1619 | 1613 | | |
| |||
0 commit comments