Commit 9adbeb5
committed
ASoC: SOF: sof-audio: skip prepared widgets when pipeline is prepared
When walking the list of connected widgets, the pipeline_params for each
widget is modified by the source widget in the path in prepare case. The
first source widget is a AIF type for playback and DAI type for capture
case. For mixer cases, one prepared AIF or DAI widget in anther connected
stream may be included in widget list and used for source widget. This
will result to incorrect pipeline_params.
This patch skip prepared widget in anther stream and use the widget in
the same stream for pipeline_param prepare.
Signed-off-by: Rander Wang <rander.wang@intel.com>1 parent 0741361 commit 9adbeb5
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
| 595 | + | |
595 | 596 | | |
596 | 597 | | |
597 | 598 | | |
| |||
611 | 612 | | |
612 | 613 | | |
613 | 614 | | |
| 615 | + | |
614 | 616 | | |
615 | 617 | | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
616 | 624 | | |
617 | 625 | | |
618 | 626 | | |
| |||
0 commit comments