diff options
| author | 2026-10-07 11:49:37 +0300 | |
|---|---|---|
| committer | 2026-10-07 13:16:48 +0200 | |
| commit | be887709bd9980ec2e3a5361a59e60f2e5038028 (patch) | |
| tree | 5ce3357ed9b25a963a6236a51563b31883763502 /scripts/Makefile.thinlto | |
| parent | ASoC: SOF: compress: Rename compress ops with ipc3 prefix (diff) | |
ASoC: SOF: sof-audio: Fix the pipeline_list population
Two issues with the way sof_set_up_widgets_in_path() adds a pipeline to
the list of pipelines to be triggered:
The count is incremented before the array entry is written, so the last
entry of the list is NULL for a short window. A concurrent user of the
list, like sof_ipc4_trigger_pipelines(), can see the incremented count
with the entry still unset.
A widget which is not part of a pipeline has no spipe, but it is still
added to the list, resulting in a NULL entry within the count.
Store the entry before incrementing the count and skip the widgets
without a pipeline.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://patch.msgid.link/20261007084955.1256-11-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
