diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2025-04-09 12:45:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-25 10:50:48 +0200 |
commit | 9869d5d789c81f09961b65edb75cc5dd9bbcbba1 (patch) | |
tree | 2ee424327bb076b60b2dfc02fc472092d835bb7b | |
parent | 29a4b0ebd56c24a538398da444cfca8d73e71887 (diff) |
ALSA: hda/cirrus_scodec_test: Don't select dependencies
[ Upstream commit e9c7fa025dc6125eb47993515d45da0cd02a263c ]
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: 2144833e7b41 ("ALSA: hda: cirrus_scodec: Add KUnit test")
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20250409114520.914079-1-rf@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | sound/pci/hda/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pci/hda/Kconfig b/sound/pci/hda/Kconfig index 84ebf19f2883..ddbbfd5b274f 100644 --- a/sound/pci/hda/Kconfig +++ b/sound/pci/hda/Kconfig @@ -96,9 +96,7 @@ config SND_HDA_CIRRUS_SCODEC config SND_HDA_CIRRUS_SCODEC_KUNIT_TEST tristate "KUnit test for Cirrus side-codec library" if !KUNIT_ALL_TESTS - select SND_HDA_CIRRUS_SCODEC - select GPIOLIB - depends on KUNIT + depends on SND_HDA_CIRRUS_SCODEC && GPIOLIB && KUNIT default KUNIT_ALL_TESTS help This builds KUnit tests for the cirrus side-codec library. |