As discussed in [1], ASoC core supports multi codec DAIs on a DAI link. However it does not do so for CPU DAIs.
So, add support for multi CPU DAIs on a DAI Link by adding multi CPU DAI in Card instantiation, suspend and resume functions, PCM ops, stream handling functions and DAPM.
[1]: https://www.spinics.net/lists/alsa-devel/msg71369.html
changes in v6: - Addressed review comments from Pierre in calculating delay for CPU DAI, add check for compress DAIs and other nits - add proper exit check in dpcm_prune_path() for CPU DAIs - rebased on latest for-next branch
Shreyas NC (3): ASoC: Add initial support for multiple CPU DAIs ASoC: Add multiple CPU DAI support for PCM ops ASoC: Add multiple CPU DAI support in DAPM
include/sound/soc.h | 6 + sound/soc/soc-core.c | 290 +++++++++++++++++++++--------- sound/soc/soc-dapm.c | 71 +++++--- sound/soc/soc-pcm.c | 491 ++++++++++++++++++++++++++++++++++----------------- 4 files changed, 589 insertions(+), 269 deletions(-)