Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4a414aa authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Enforce CONFIG_SND_DYNAMIC_MINORS for HDMI/DP codec



The DP-MST support requires more PCM streams than usual, hence
CONFIG_SND_DYNAMIC_MINORS is almost mandatory.  Currently the driver
just warns and continues even if streams are missing, but it doesn't
seem to enough convince users to switch to the modern setup.

This patch adds the enforced selection of CONFIG_SND_DYNAMIC_MINORS
from CONFIG_SND_HDA_CODEC_HDMI for covering that.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent dfd9944f
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -127,11 +127,15 @@ comment "Set to Y if you want auto-loading the codec driver"


config SND_HDA_CODEC_HDMI
config SND_HDA_CODEC_HDMI
	tristate "Build HDMI/DisplayPort HD-audio codec support"
	tristate "Build HDMI/DisplayPort HD-audio codec support"
	select SND_DYNAMIC_MINORS
	help
	help
	  Say Y or M here to include HDMI and DisplayPort HD-audio codec
	  Say Y or M here to include HDMI and DisplayPort HD-audio codec
	  support in snd-hda-intel driver.  This includes all AMD/ATI,
	  support in snd-hda-intel driver.  This includes all AMD/ATI,
	  Intel and Nvidia HDMI/DisplayPort codecs.
	  Intel and Nvidia HDMI/DisplayPort codecs.


	  Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS
	  to assure the multiple streams for DP-MST support.

comment "Set to Y if you want auto-loading the codec driver"
comment "Set to Y if you want auto-loading the codec driver"
	depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
	depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m