Skip to content

Commit 3e45180

Browse files
committed
ALSA: hda: Fix dependency on ASoC cs35l41 codec
The recently added support for CS35L41 codec unconditionally selects CONFIG_SND_SOC_CS35L41_LIB, but this can't work unless the top-level CONFIG_SND_SOC is enabled. This patch adds the proper dependency. Fixes: 7b2f3eb ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 1b1f98d commit 3e45180

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/pci/hda/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ config SND_HDA_SCODEC_CS35L41
9797
config SND_HDA_SCODEC_CS35L41_I2C
9898
tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
9999
depends on ACPI
100+
depends on SND_SOC
100101
select SND_HDA_GENERIC
101102
select SND_SOC_CS35L41_LIB
102103
select SND_HDA_SCODEC_CS35L41
@@ -110,6 +111,7 @@ comment "Set to Y if you want auto-loading the side codec driver"
110111
config SND_HDA_SCODEC_CS35L41_SPI
111112
tristate "Build CS35L41 HD-audio codec support for SPI Bus"
112113
depends on ACPI
114+
depends on SND_SOC
113115
select SND_HDA_GENERIC
114116
select SND_SOC_CS35L41_LIB
115117
select SND_HDA_SCODEC_CS35L41

0 commit comments

Comments
 (0)