mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 15:14:52 +00:00
ALSA: hda/realtek: Enable drivers as default
The recent split of Realtek HD-audio driver forced users to choose the right Kconfigs, but most users have no idea which ones to enable. Although the distros tend to enable all of them, individual users may have their own favorites and miss something needed via the version upgrade. For smoother upgrade path from the previous kernel configuration, now we take the following changes: - CONFIG_SND_HDA_CODEC_REALTEK (which is a menuconfig) is changed from bool to tristate again, so that it can take over from the previous config gracefully. - CONFIG_SND_HDA_CODEC_ALC* receive "default y", so that they are enabled as default as long as CONFIG_SND_HDA_CODEC_REALTEK is set. Those can be still disabled if users want to reduce the size, too. At least this allows users to run "make oldconfig" and push RETURN blindly. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250730064639.25617-2-tiwai@suse.de
This commit is contained in:
parent
a9dec09631
commit
1d8dd982c4
@ -1,7 +1,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
menuconfig SND_HDA_CODEC_REALTEK
|
menuconfig SND_HDA_CODEC_REALTEK
|
||||||
bool "Realtek HD-audio codec support"
|
tristate "Realtek HD-audio codec support"
|
||||||
|
|
||||||
if SND_HDA_CODEC_REALTEK
|
if SND_HDA_CODEC_REALTEK
|
||||||
|
|
||||||
@ -15,6 +15,7 @@ config SND_HDA_CODEC_ALC260
|
|||||||
tristate "Build Realtek ALC260 HD-audio codec support"
|
tristate "Build Realtek ALC260 HD-audio codec support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC260 HD-audio codec support
|
Say Y or M here to include Realtek ALC260 HD-audio codec support
|
||||||
|
|
||||||
@ -22,6 +23,7 @@ config SND_HDA_CODEC_ALC262
|
|||||||
tristate "Build Realtek ALC262 HD-audio codec support"
|
tristate "Build Realtek ALC262 HD-audio codec support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC262 HD-audio codec support
|
Say Y or M here to include Realtek ALC262 HD-audio codec support
|
||||||
|
|
||||||
@ -29,6 +31,7 @@ config SND_HDA_CODEC_ALC268
|
|||||||
tristate "Build Realtek ALC268 HD-audio codec support"
|
tristate "Build Realtek ALC268 HD-audio codec support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC268 and compatible HD-audio
|
Say Y or M here to include Realtek ALC268 and compatible HD-audio
|
||||||
codec support
|
codec support
|
||||||
@ -37,6 +40,7 @@ config SND_HDA_CODEC_ALC269
|
|||||||
tristate "Build Realtek ALC269 HD-audio codecs support"
|
tristate "Build Realtek ALC269 HD-audio codecs support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC269 and compatible HD-audio
|
Say Y or M here to include Realtek ALC269 and compatible HD-audio
|
||||||
codec support
|
codec support
|
||||||
@ -45,6 +49,7 @@ config SND_HDA_CODEC_ALC662
|
|||||||
tristate "Build Realtek ALC662 HD-audio codecs support"
|
tristate "Build Realtek ALC662 HD-audio codecs support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC662 and compatible HD-audio
|
Say Y or M here to include Realtek ALC662 and compatible HD-audio
|
||||||
codec support
|
codec support
|
||||||
@ -53,6 +58,7 @@ config SND_HDA_CODEC_ALC680
|
|||||||
tristate "Build Realtek ALC680 HD-audio codecs support"
|
tristate "Build Realtek ALC680 HD-audio codecs support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC680 HD-audio codec support
|
Say Y or M here to include Realtek ALC680 HD-audio codec support
|
||||||
|
|
||||||
@ -60,6 +66,7 @@ config SND_HDA_CODEC_ALC861
|
|||||||
tristate "Build Realtek ALC861 HD-audio codecs support"
|
tristate "Build Realtek ALC861 HD-audio codecs support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC861 HD-audio codec support
|
Say Y or M here to include Realtek ALC861 HD-audio codec support
|
||||||
|
|
||||||
@ -67,6 +74,7 @@ config SND_HDA_CODEC_ALC861VD
|
|||||||
tristate "Build Realtek ALC861-VD HD-audio codecs support"
|
tristate "Build Realtek ALC861-VD HD-audio codecs support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC861-VD HD-audio codec support
|
Say Y or M here to include Realtek ALC861-VD HD-audio codec support
|
||||||
|
|
||||||
@ -74,6 +82,7 @@ config SND_HDA_CODEC_ALC880
|
|||||||
tristate "Build Realtek ALC880 HD-audio codecs support"
|
tristate "Build Realtek ALC880 HD-audio codecs support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC880 HD-audio codec support
|
Say Y or M here to include Realtek ALC880 HD-audio codec support
|
||||||
|
|
||||||
@ -81,6 +90,7 @@ config SND_HDA_CODEC_ALC882
|
|||||||
tristate "Build Realtek ALC882 HD-audio codecs support"
|
tristate "Build Realtek ALC882 HD-audio codecs support"
|
||||||
depends on INPUT
|
depends on INPUT
|
||||||
select SND_HDA_CODEC_REALTEK_LIB
|
select SND_HDA_CODEC_REALTEK_LIB
|
||||||
|
default y
|
||||||
help
|
help
|
||||||
Say Y or M here to include Realtek ALC882 and compatible HD-audio
|
Say Y or M here to include Realtek ALC882 and compatible HD-audio
|
||||||
codec support
|
codec support
|
||||||
|
Loading…
Reference in New Issue
Block a user