aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Orlov <[email protected]>2024-02-01 22:11:22 +0000
committerTakashi Iwai <[email protected]>2024-02-02 09:16:46 +0100
commit6da404e78d392c7b35ac902072cf79ffe336556d (patch)
treee40dd74ad0ef29f68029977fbb58218ed5bcbc31
parent8b87a7863fa57f87f5a63fb2dd69a4400593d92c (diff)
ALSA: core: Fix dependencies for SND_CORE_TEST
Select CONFIG_SND_PCM when enabling CONFIG_SND_CORE_TEST, as the test uses symbols from 'pcm_misc.c'. Fixes: 3e39acf56ede ("ALSA: core: Add sound core KUnit test") Signed-off-by: Ivan Orlov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
-rw-r--r--sound/core/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/Kconfig b/sound/core/Kconfig
index 664c6ee2b5a1..8077f481d84f 100644
--- a/sound/core/Kconfig
+++ b/sound/core/Kconfig
@@ -42,6 +42,7 @@ config SND_UMP_LEGACY_RAWMIDI
config SND_CORE_TEST
tristate "Sound core KUnit test"
depends on KUNIT
+ select SND_PCM
default KUNIT_ALL_TESTS
help
This options enables the sound core functions KUnit test.