summaryrefslogtreecommitdiff
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2020-11-02 18:10:09 +0300
committerMark Brown <broonie@kernel.org>2020-11-10 20:28:18 +0300
commitaa293777bfeb75fb8872565ef99cc0e8b98b5c7d (patch)
treecc0439bb06120d2666e63673b2c61d26f48e1a25 /include/sound/soc.h
parent3256ef984b016fc8491f34cad594168b4b500317 (diff)
downloadlinux-aa293777bfeb75fb8872565ef99cc0e8b98b5c7d.tar.xz
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>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 5ac578c9340c..4a9958b9b532 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1084,6 +1084,7 @@ struct snd_soc_card {
unsigned int fully_routed:1;
unsigned int disable_route_checks:1;
unsigned int probed:1;
+ unsigned int component_chaining:1;
void *drvdata;
};