ALSA: hda/hdmi: Restrict prompt only for CONFIG_EXPERT
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Aug 2025 19:25:38 +0000 (21:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Aug 2025 06:20:59 +0000 (08:20 +0200)
commit606fcab9aa212ba7d99a259663411d665070e317
treee521b8cadeb75e96ba20be4ec12fa9827ea5adcd
parent6bd05db76751c872970c63be41c97172cfbec4c1
ALSA: hda/hdmi: Restrict prompt only for CONFIG_EXPERT

The split of HDMI codec driver may confuse users when migrating from
the previous kernel configs and leave some drivers disabled
unexpectedly.  Although we've already set y to all HDMI codec drivers
as default, it's still safer to paper over the wrong choices.

This patch marks the prompt of each HDMI codec driver with
CONFIG_EXPERT, so that they are all enabled when the top-level
CONFIG_SND_HDA_CODEC_HDMI is set.

For users who really care about the minimalistic configuration, they
can turn each driver on/off individually after setting
CONFIG_EXPERT=y.

The patch also adds the missing help text to the top-level
CONFIG_SND_HDA_CODEC_HDMI together with the explanation of individual
choices, too.

Fixes: 73cd0490819d ("ALSA: hda/hdmi: Split vendor codec drivers")
Link: https://lore.kernel.org/10172c80-daec-4e20-ab57-a483cf1afc02@molgen.mpg.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250806192541.21949-3-tiwai@suse.de
sound/hda/codecs/hdmi/Kconfig