[alsa-devel] [RFC PATCH v2 1/6] ALSA: hda - add mst_no_extra_pcms flag to hda_codec

Takashi Iwai tiwai at suse.de
Fri Sep 6 17:12:28 CEST 2019


On Fri, 06 Sep 2019 16:29:04 +0200,
Kai Vehmanen wrote:
> 
> Add a flag to hda_codec struct to control whether legacy PCM
> numbering should be followed in DP-MST mode. When set, no backup
> PCMs will be created and PCM count is limited to number of
> converters.

Let's combine this and patch 4, the actual change in HDMI codec driver
with the flag.  It'll make the meaning of the flag clearer.


thanks,

Takashi

> 
> Signed-off-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>
> ---
>  include/sound/hda_codec.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/sound/hda_codec.h b/include/sound/hda_codec.h
> index 9a0393cf024c..ac18f428eda6 100644
> --- a/include/sound/hda_codec.h
> +++ b/include/sound/hda_codec.h
> @@ -254,6 +254,7 @@ struct hda_codec {
>  	unsigned int force_pin_prefix:1; /* Add location prefix */
>  	unsigned int link_down_at_suspend:1; /* link down at runtime suspend */
>  	unsigned int relaxed_resume:1;	/* don't resume forcibly for jack */
> +	unsigned int mst_no_extra_pcms:1; /* no backup PCMs for DP-MST */
>  
>  #ifdef CONFIG_PM
>  	unsigned long power_on_acct;
> -- 
> 2.17.1
> 


More information about the Alsa-devel mailing list