linux
linux copied to clipboard
[draft] ASoC: SOF: widget changing hw_params only applies to its sink widgets
If a widget changes its output hw_params, the changed output hw_params should only applies to its sink widgets.
For example, we have 3 pipelines, ppl1, ppl2 and ppl3. And the topology is:
ppl1 --- ppl2
|- ppl3
If we changed ppl2 hw_params, ppl3's hw_params should still use ppl1's output hw_params, instead of the ppl2's changed hw_params.
Signed-off-by: Libin Yang [email protected]
V2 update: move the memcpy into the loop.
close this PR and will re-submit a new one after it is necessary.