ASoC: soc-pcm: Get all BEs along DAPM path
authorSameer Pujar <spujar@nvidia.com>
Mon, 2 Nov 2020 15:10:09 +0000 (20:40 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 10 Nov 2020 17:28:18 +0000 (17:28 +0000)
commitaa293777bfeb75fb8872565ef99cc0e8b98b5c7d
treecc0439bb06120d2666e63673b2c61d26f48e1a25
parent3256ef984b016fc8491f34cad594168b4b500317
ASoC: soc-pcm: Get all BEs along DAPM path

dpcm_end_walk_at_be() stops the graph walk when first BE is found for
the given FE component. In a component model we may want to connect
multiple DAIs from different components. A new flag is introduced in
'snd_soc_card', which when set allows DAI/component chaining. Later
PCM operations can be called for all these listed components for a
valid DAPM path.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1604329814-24779-3-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-pcm.c