ASoC: SOF: get pipeline instance id from pipe_widget->instance_id
authorMark Brown <broonie@kernel.org>
Thu, 10 Nov 2022 17:49:54 +0000 (17:49 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 10 Nov 2022 17:49:54 +0000 (17:49 +0000)
commit6426f56b7a6e6dd3e0b54a77bfd654177538ff16
tree6f9c4b9e5900daa9f60f6d950b4f9bd2731d4c16
parente3c591c0735383f044798ee4a47d1a9194f09344
parenta2ba1f70b301b366666e739a1f951f57b8af2cce
ASoC: SOF: get pipeline instance id from pipe_widget->instance_id

Merge series from Bard Liao <yung-chuan.liao@linux.intel.com>:

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.
sound/soc/sof/ipc4-topology.c