Commit 71da2a6
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 c6e20f3 commit 71da2a6
1 file changed
+5
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
1494 | | - | |
1495 | 1494 | | |
1496 | 1495 | | |
1497 | 1496 | | |
| |||
1500 | 1499 | | |
1501 | 1500 | | |
1502 | 1501 | | |
1503 | | - | |
1504 | | - | |
1505 | | - | |
1506 | | - | |
1507 | 1502 | | |
1508 | 1503 | | |
1509 | 1504 | | |
| |||
1523 | 1518 | | |
1524 | 1519 | | |
1525 | 1520 | | |
1526 | | - | |
| 1521 | + | |
1527 | 1522 | | |
1528 | 1523 | | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
1532 | | - | |
1533 | | - | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
1534 | 1528 | | |
1535 | 1529 | | |
1536 | 1530 | | |
| |||
0 commit comments