diff options
author | Shreyas NC <shreyas.nc@intel.com> | 2020-02-25 16:39:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-26 20:35:00 +0300 |
commit | 76afa64374a79c22b2dab61aebef99a967783bf0 (patch) | |
tree | ba0dc6650762eaf2a3774ce15e1a87eeef07a060 /include/sound/seq_midi_emul.h | |
parent | f5e056e1e46fcbb5f74ce560792aeb7d57ce79e6 (diff) | |
download | linux-76afa64374a79c22b2dab61aebef99a967783bf0.tar.xz |
ASoC: Add initial support for multiple CPU DAIs
ASoC core supports multiple codec DAIs but supports only a CPU DAI.
To support multiple cpu DAIs, add cpu_dai and num_cpu_dai in
snd_soc_dai_link and snd_soc_pcm_runtime structures similar to
support for codec_dai. This is intended as a preparatory patch to
eventually support the unification of the Codec and CPU DAI.
Inline with multiple codec DAI approach, add support to allocate,
init, bind and probe multiple cpu_dai on init if driver specifies
that. Also add support to loop over multiple cpu_dai during
suspend and resume.
This is intended as a preparatory patch to eventually unify the CPU
and Codec DAI into DAI components.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Link: https://lore.kernel.org/r/20200225133917.21314-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/seq_midi_emul.h')
0 files changed, 0 insertions, 0 deletions