diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-07-12 18:35:17 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-07-13 09:28:13 +0300 |
commit | d60b05b4c7802b45c4f2ac003827384618a17bb4 (patch) | |
tree | 053879d7e9fbf617042c8d6f200c7f3ebfd7cc9e | |
parent | 20bcf721068f6418607283cdb0c16cf0b606cfc1 (diff) | |
download | linux-d60b05b4c7802b45c4f2ac003827384618a17bb4.tar.xz |
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>
-rw-r--r-- | sound/pci/hda/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig index 79ade4787d95..e86cf80bdf96 100644 --- a/sound/pci/hda/Kconfig +++ b/sound/pci/hda/Kconfig @@ -97,7 +97,7 @@ config SND_HDA_SCODEC_CS35L41 config SND_HDA_SCODEC_CS35L41_I2C tristate "Build CS35L41 HD-audio side codec support for I2C Bus" depends on I2C - depends on ACPI + depends on ACPI || COMPILE_TEST depends on SND_SOC select SND_HDA_GENERIC 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 tristate "Build CS35L41 HD-audio codec support for SPI Bus" depends on SPI_MASTER - depends on ACPI + depends on ACPI || COMPILE_TEST depends on SND_SOC select SND_HDA_GENERIC select SND_SOC_CS35L41_LIB |