]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Add Multi CPU DAI support
authorMark Brown <broonie@kernel.org>
Wed, 26 Feb 2020 18:14:19 +0000 (18:14 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 26 Feb 2020 18:14:19 +0000 (18:14 +0000)
commit22b3041785534bc93a2b30e88ea1640ebeaff01d
treee89a7aeff199428dcfba7d80aa9e93f589f5d785
parent37edf32d5e5524110e4e9d2655fa79daca6143b8
parentec9e33f0fe69ced2e585b1c6fd117e778fdbfb34
ASoC: Add Multi CPU DAI support

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

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 v5:
- rebase to latest kernel base

Bard Liao (2):
  ASoC: Return error if the function does not support multi-cpu
  ASoC: pcm: check if cpu-dai supports a given stream

Shreyas NC (4):
  ASoC: Add initial support for multiple CPU DAIs
  ASoC: Add multiple CPU DAI support for PCM ops
  ASoC: Add dapm_add_valid_dai_widget helper
  ASoC: Add multiple CPU DAI support in DAPM

 include/sound/soc.h                   |  15 +
 sound/soc/soc-compress.c              |   5 +-
 sound/soc/soc-core.c                  | 168 +++++-----
 sound/soc/soc-dapm.c                  | 133 ++++----
 sound/soc/soc-generic-dmaengine-pcm.c |  18 +
 sound/soc/soc-pcm.c                   | 463 ++++++++++++++++++--------
 6 files changed, 531 insertions(+), 271 deletions(-)

--
2.17.1