Skip to content

Commit 9b019be

Browse files
rfvirgilgregkh
authored andcommitted
ALSA: hda/cirrus_scodec_test: Don't select dependencies
[ Upstream commit e9c7fa0 ] Depend on SND_HDA_CIRRUS_SCODEC and GPIOLIB instead of selecting them. KUNIT_ALL_TESTS should only build tests that have satisfied dependencies and test components that are already being built. It must not cause other stuff to be added to the build. Fixes: 2144833 ("ALSA: hda: cirrus_scodec: Add KUnit test") Signed-off-by: Richard Fitzgerald <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 7060bf9 commit 9b019be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sound/pci/hda/Kconfig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ config SND_HDA_CIRRUS_SCODEC
9696

9797
config SND_HDA_CIRRUS_SCODEC_KUNIT_TEST
9898
tristate "KUnit test for Cirrus side-codec library" if !KUNIT_ALL_TESTS
99-
select SND_HDA_CIRRUS_SCODEC
100-
select GPIOLIB
101-
depends on KUNIT
99+
depends on SND_HDA_CIRRUS_SCODEC && GPIOLIB && KUNIT
102100
default KUNIT_ALL_TESTS
103101
help
104102
This builds KUnit tests for the cirrus side-codec library.

0 commit comments

Comments
 (0)