ASoC: SOF: ipc4: Multi-stream playback and capture support
authorMark Brown <broonie@kernel.org>
Sat, 28 Jan 2023 10:46:16 +0000 (10:46 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 28 Jan 2023 10:46:16 +0000 (10:46 +0000)
commit3d0690140f37dbdad956c5bb18eb2854161ec44f
tree6f41a75c0c888581868d877f65e480c783c9864d
parent6c9802b82f368cfe1dbd0611d0f9ac0b7cfd1ca0
parent251a2b11851531526260db1dbc5673a7d6177895
ASoC: SOF: ipc4: Multi-stream playback and capture support

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

The following series will enable multi-stream support for playback and capture
streams.
Currently only a single PCM can be connected to a DAI, with the multi-stream
support it is possible to connect multiple PCMs to a single DAI.

To achieve this we need to make sure that DAIs/AIF are only set up once since
other stream could be connected to it later.

We also need to introduce reference or use counting for widgets to make sure
that they are not going to be destroyed while other streams are still using
them.

With the multi-stream support we also need to extend our current locking scheme
which worked well for simple paths.