Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: hda: Fix dependencies of CS35L41 on SPI/I2C buses

CS35L41 SPI and I2C drivers depend on those buses, hence they have to
have dependencies in Kconfig; otherwise it may result in missing
symbols.

Fixes: 7b2f3eb492da ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20220109081337.30623-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

+2
+2
sound/pci/hda/Kconfig
··· 96 96 97 97 config SND_HDA_SCODEC_CS35L41_I2C 98 98 tristate "Build CS35L41 HD-audio side codec support for I2C Bus" 99 + depends on I2C 99 100 depends on ACPI 100 101 depends on SND_SOC 101 102 select SND_HDA_GENERIC ··· 111 110 112 111 config SND_HDA_SCODEC_CS35L41_SPI 113 112 tristate "Build CS35L41 HD-audio codec support for SPI Bus" 113 + depends on SPI_MASTER 114 114 depends on ACPI 115 115 depends on SND_SOC 116 116 select SND_HDA_GENERIC