Commit 3e451803 authored by Takashi Iwai's avatar Takashi Iwai

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: 7b2f3eb4 ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems")
Link: https://lore.kernel.org/r/20220107092647.20258-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1b1f98dd
...@@ -97,6 +97,7 @@ config SND_HDA_SCODEC_CS35L41 ...@@ -97,6 +97,7 @@ config SND_HDA_SCODEC_CS35L41
config SND_HDA_SCODEC_CS35L41_I2C config SND_HDA_SCODEC_CS35L41_I2C
tristate "Build CS35L41 HD-audio side codec support for I2C Bus" tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
depends on ACPI depends on ACPI
depends on SND_SOC
select SND_HDA_GENERIC select SND_HDA_GENERIC
select SND_SOC_CS35L41_LIB select SND_SOC_CS35L41_LIB
select SND_HDA_SCODEC_CS35L41 select SND_HDA_SCODEC_CS35L41
...@@ -110,6 +111,7 @@ comment "Set to Y if you want auto-loading the side codec driver" ...@@ -110,6 +111,7 @@ comment "Set to Y if you want auto-loading the side codec driver"
config SND_HDA_SCODEC_CS35L41_SPI config SND_HDA_SCODEC_CS35L41_SPI
tristate "Build CS35L41 HD-audio codec support for SPI Bus" tristate "Build CS35L41 HD-audio codec support for SPI Bus"
depends on ACPI depends on ACPI
depends on SND_SOC
select SND_HDA_GENERIC select SND_HDA_GENERIC
select SND_SOC_CS35L41_LIB select SND_SOC_CS35L41_LIB
select SND_HDA_SCODEC_CS35L41 select SND_HDA_SCODEC_CS35L41
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment