diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2024-02-01 22:11:22 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-02 09:16:46 +0100 |
commit | 6da404e78d392c7b35ac902072cf79ffe336556d (patch) | |
tree | e40dd74ad0ef29f68029977fbb58218ed5bcbc31 /sound/core | |
parent | 8b87a7863fa57f87f5a63fb2dd69a4400593d92c (diff) | |
download | linux-6da404e78d392c7b35ac902072cf79ffe336556d.tar.gz linux-6da404e78d392c7b35ac902072cf79ffe336556d.tar.bz2 linux-6da404e78d392c7b35ac902072cf79ffe336556d.zip |
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 <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20240201221122.16627-1-ivan.orlov0322@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r-- | sound/core/Kconfig | 1 |
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. |