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

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Jun 29 03:41:39 CEST 2020


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


More information about the Alsa-devel mailing list