diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2022-11-08 08:29:10 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-09 13:44:20 +0000 |
commit | a2ba1f70b301b366666e739a1f951f57b8af2cce (patch) | |
tree | e03c30bc8027757718796db5ffc46de2453a010d /tools | |
parent | eb2eaf50395a8164f4f9e0021609ddb40ad97e87 (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