Re: [PATCH v4 16/23] ASoC: soc-pcm: Get all BEs along DAPM path

From: Kuninori Morimoto
Date: Sun Jun 28 2020 - 21:41:43 EST



Hi Sameer

> 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.
(snip)
> @@ -1069,6 +1069,7 @@ struct snd_soc_card {
> int num_of_dapm_widgets;
> const struct snd_soc_dapm_route *of_dapm_routes;
> int num_of_dapm_routes;
> + bool component_chaining;

snd_soc_card has many /* bit field */ variables.
Please use it instead of bool.

Thank you for your help !!

Best regards
---
Kuninori Morimoto