summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2022-11-08 08:29:10 +0800
committerMark Brown <broonie@kernel.org>2022-11-09 13:44:20 +0000
commita2ba1f70b301b366666e739a1f951f57b8af2cce (patch)
treee03c30bc8027757718796db5ffc46de2453a010d /tools
parenteb2eaf50395a8164f4f9e0021609ddb40ad97e87 (diff)
ASoC: SOF: ipc4: get pipeline instance id from pipe_widget->instance_id
Currently we set pipeline instance id = swidget->pipeline_id, but pipeline_id is from topology and can be any number. In fact, the number of pipelines is limited. This patch use ida to allocate pipeline instance id and will be used for pipeline instance id in the IPC message. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20221108002910.2819709-4-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions