diff options
| author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2026-10-07 11:49:37 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-07 13:16:48 +0200 |
| commit | be887709bd9980ec2e3a5361a59e60f2e5038028 (patch) | |
| tree | 5ce3357ed9b25a963a6236a51563b31883763502 /tools/lib/python/kdoc/python_version.py | |
| parent | aa2adb90252c7bd56de7473d5c20e3159446c344 (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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
