From: Ivan Orlov Date: Thu, 1 Feb 2024 22:11:22 +0000 (+0000) Subject: ALSA: core: Fix dependencies for SND_CORE_TEST X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6da404e78d392c7b35ac902072cf79ffe336556d;p=linux.git 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 Link: https://lore.kernel.org/r/20240201221122.16627-1-ivan.orlov0322@gmail.com Signed-off-by: Takashi Iwai --- diff --git a/sound/core/Kconfig b/sound/core/Kconfig index 664c6ee2b5a1d..8077f481d84fd 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.