Skip to content

Commit fc2792a

Browse files
committed
ALSA: hda/cirrus: Enable drivers as default
Like HD-audio Realtek drivers, Cirrus Logic HD-audio codec driver was split to multiple drivers, too, and now users are forced to choose the right kconfig items. For smoother upgrade path, keep the previous CONFIG_SND_HDA_CODEC_CIRRUS as the menuconfig. The new kconfig CONFIG_SND_HDA_CODEC_CS42* are enabled as default, as long as CONFIG_SND_HDA_CODEC_CIRRUS is set, so that the system with Cirrus codec can keep working. This is only about the default config, and each driver can be still disabled if user wants to reduce the size, too. Signed-off-by: Takashi Iwai <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent 1d8dd98 commit fc2792a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sound/hda/codecs/cirrus/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3+
menuconfig SND_HDA_CODEC_CIRRUS
4+
tristate "Cirrus Logic HD-audio codec support"
5+
6+
if SND_HDA_CODEC_CIRRUS
7+
38
config SND_HDA_CODEC_CS420X
49
tristate "Build Cirrus Logic CS420x codec support"
510
select SND_HDA_GENERIC
11+
default y
612
help
713
Say Y or M here to include Cirrus Logic CS420x codec support in
814
snd-hda-intel driver
@@ -13,6 +19,7 @@ comment "Set to Y if you want auto-loading the codec driver"
1319
config SND_HDA_CODEC_CS421X
1420
tristate "Build Cirrus Logic CS421x codec support"
1521
select SND_HDA_GENERIC
22+
default y
1623
help
1724
Say Y or M here to include Cirrus Logic CS421x codec support in
1825
snd-hda-intel driver
@@ -29,3 +36,5 @@ config SND_HDA_CODEC_CS8409
2936

3037
comment "Set to Y if you want auto-loading the codec driver"
3138
depends on SND_HDA=y && SND_HDA_CODEC_CS8409=m
39+
40+
endif

0 commit comments

Comments
 (0)