Skip to content

Commit 1d8dd98

Browse files
committed
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 <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent a9dec09 commit 1d8dd98

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

sound/hda/codecs/realtek/Kconfig

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

33
menuconfig SND_HDA_CODEC_REALTEK
4-
bool "Realtek HD-audio codec support"
4+
tristate "Realtek HD-audio codec support"
55

66
if SND_HDA_CODEC_REALTEK
77

@@ -15,20 +15,23 @@ config SND_HDA_CODEC_ALC260
1515
tristate "Build Realtek ALC260 HD-audio codec support"
1616
depends on INPUT
1717
select SND_HDA_CODEC_REALTEK_LIB
18+
default y
1819
help
1920
Say Y or M here to include Realtek ALC260 HD-audio codec support
2021

2122
config SND_HDA_CODEC_ALC262
2223
tristate "Build Realtek ALC262 HD-audio codec support"
2324
depends on INPUT
2425
select SND_HDA_CODEC_REALTEK_LIB
26+
default y
2527
help
2628
Say Y or M here to include Realtek ALC262 HD-audio codec support
2729

2830
config SND_HDA_CODEC_ALC268
2931
tristate "Build Realtek ALC268 HD-audio codec support"
3032
depends on INPUT
3133
select SND_HDA_CODEC_REALTEK_LIB
34+
default y
3235
help
3336
Say Y or M here to include Realtek ALC268 and compatible HD-audio
3437
codec support
@@ -37,6 +40,7 @@ config SND_HDA_CODEC_ALC269
3740
tristate "Build Realtek ALC269 HD-audio codecs support"
3841
depends on INPUT
3942
select SND_HDA_CODEC_REALTEK_LIB
43+
default y
4044
help
4145
Say Y or M here to include Realtek ALC269 and compatible HD-audio
4246
codec support
@@ -45,6 +49,7 @@ config SND_HDA_CODEC_ALC662
4549
tristate "Build Realtek ALC662 HD-audio codecs support"
4650
depends on INPUT
4751
select SND_HDA_CODEC_REALTEK_LIB
52+
default y
4853
help
4954
Say Y or M here to include Realtek ALC662 and compatible HD-audio
5055
codec support
@@ -53,34 +58,39 @@ config SND_HDA_CODEC_ALC680
5358
tristate "Build Realtek ALC680 HD-audio codecs support"
5459
depends on INPUT
5560
select SND_HDA_CODEC_REALTEK_LIB
61+
default y
5662
help
5763
Say Y or M here to include Realtek ALC680 HD-audio codec support
5864

5965
config SND_HDA_CODEC_ALC861
6066
tristate "Build Realtek ALC861 HD-audio codecs support"
6167
depends on INPUT
6268
select SND_HDA_CODEC_REALTEK_LIB
69+
default y
6370
help
6471
Say Y or M here to include Realtek ALC861 HD-audio codec support
6572

6673
config SND_HDA_CODEC_ALC861VD
6774
tristate "Build Realtek ALC861-VD HD-audio codecs support"
6875
depends on INPUT
6976
select SND_HDA_CODEC_REALTEK_LIB
77+
default y
7078
help
7179
Say Y or M here to include Realtek ALC861-VD HD-audio codec support
7280

7381
config SND_HDA_CODEC_ALC880
7482
tristate "Build Realtek ALC880 HD-audio codecs support"
7583
depends on INPUT
7684
select SND_HDA_CODEC_REALTEK_LIB
85+
default y
7786
help
7887
Say Y or M here to include Realtek ALC880 HD-audio codec support
7988

8089
config SND_HDA_CODEC_ALC882
8190
tristate "Build Realtek ALC882 HD-audio codecs support"
8291
depends on INPUT
8392
select SND_HDA_CODEC_REALTEK_LIB
93+
default y
8494
help
8595
Say Y or M here to include Realtek ALC882 and compatible HD-audio
8696
codec support

0 commit comments

Comments
 (0)