Skip to content

Commit 849c83f

Browse files
rfvirgiltiwai
authored andcommitted
ALSA: hda/cs35l56: Remove dependency on COMPILE_TEST
Change the Kconfig dependency on ACPI || COMPILE_TEST to only depend on ACPI. The alternate dependency on COMPILE_TEST was a fudge to enable building KUnit tests for modules that are selected by the CS35L56 driver but don't depend on ACPI. This was based on a misunderstanding that KUNIT_ALL_TESTS meant "all tests". Actually KUNIT_ALL_TESTS only means "tests for modules that have satisfied dependencies" so it shouldn't be overriding dependencies. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20250428094126.125781-1-rf@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 26d87c5 commit 849c83f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/pci/hda/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ config SND_HDA_SCODEC_CS35L56
151151
config SND_HDA_SCODEC_CS35L56_I2C
152152
tristate "Build CS35L56 HD-audio side codec support for I2C Bus"
153153
depends on I2C
154-
depends on ACPI || COMPILE_TEST
154+
depends on ACPI
155155
depends on SND_SOC
156156
select FW_CS_DSP
157157
imply SERIAL_MULTI_INSTANTIATE
@@ -167,7 +167,7 @@ config SND_HDA_SCODEC_CS35L56_I2C
167167
config SND_HDA_SCODEC_CS35L56_SPI
168168
tristate "Build CS35L56 HD-audio side codec support for SPI Bus"
169169
depends on SPI_MASTER
170-
depends on ACPI || COMPILE_TEST
170+
depends on ACPI
171171
depends on SND_SOC
172172
select FW_CS_DSP
173173
imply SERIAL_MULTI_INSTANTIATE

0 commit comments

Comments
 (0)