mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
ALSA: hda: cs35l41: Allow compilation test on non-ACPI configurations
ACPI is needed only for functioning of this codec on some platforms, there is no compilation dependency, so make it optional Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220712153519.35692-2-andriy.shevchenko@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
20bcf72106
commit
d60b05b4c7
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +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 I2C
|
depends on I2C
|
||||||
depends on ACPI
|
depends on ACPI || COMPILE_TEST
|
||||||
depends on SND_SOC
|
depends on SND_SOC
|
||||||
select SND_HDA_GENERIC
|
select SND_HDA_GENERIC
|
||||||
select SND_SOC_CS35L41_LIB
|
select SND_SOC_CS35L41_LIB
|
||||||
|
@ -113,7 +113,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
|
depends on ACPI || COMPILE_TEST
|
||||||
depends on SND_SOC
|
depends on SND_SOC
|
||||||
select SND_HDA_GENERIC
|
select SND_HDA_GENERIC
|
||||||
select SND_SOC_CS35L41_LIB
|
select SND_SOC_CS35L41_LIB
|
||||||
|
|
Loading…
Reference in a new issue