Skip to content

Commit 2e88c6a

Browse files
committed
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: 7b2f3eb ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems") Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 3e45180 commit 2e88c6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/pci/hda/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ config SND_HDA_SCODEC_CS35L41
9696

9797
config SND_HDA_SCODEC_CS35L41_I2C
9898
tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
99+
depends on I2C
99100
depends on ACPI
100101
depends on SND_SOC
101102
select SND_HDA_GENERIC
@@ -110,6 +111,7 @@ comment "Set to Y if you want auto-loading the side codec driver"
110111

111112
config SND_HDA_SCODEC_CS35L41_SPI
112113
tristate "Build CS35L41 HD-audio codec support for SPI Bus"
114+
depends on SPI_MASTER
113115
depends on ACPI
114116
depends on SND_SOC
115117
select SND_HDA_GENERIC

0 commit comments

Comments
 (0)