Commit d59d2277 authored by Takashi Iwai's avatar Takashi Iwai

Revert "ALSA: hda: cs35l41: Allow compilation test on non-ACPI configurations"

Since the recent change in CS35L41 codec requires the reference of
acpi_dev handle, the current Kconfig may lead to a build breakage.

Revert the Kconfig change and re-introduce the hard dependency on
CONFIG_ACPI again as a temporary workaround.

Fixes: eef37596 ("ALSA: hda: cs35l41: Support reading subsystem id from ACPI")
Link: https://lore.kernel.org/r/20220715182427.18891-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e7255c00
...@@ -103,7 +103,7 @@ config SND_HDA_CS_DSP_CONTROLS ...@@ -103,7 +103,7 @@ config SND_HDA_CS_DSP_CONTROLS
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 I2C depends on I2C
depends on ACPI || COMPILE_TEST depends on ACPI
depends on SND_SOC depends on SND_SOC
select SND_SOC_CS35L41_LIB select SND_SOC_CS35L41_LIB
select SND_HDA_SCODEC_CS35L41 select SND_HDA_SCODEC_CS35L41
...@@ -118,7 +118,7 @@ comment "Set to Y if you want auto-loading the side codec driver" ...@@ -118,7 +118,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 SPI_MASTER depends on SPI_MASTER
depends on ACPI || COMPILE_TEST depends on ACPI
depends on SND_SOC depends on SND_SOC
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