Commit 6da404e7 authored by Ivan Orlov's avatar Ivan Orlov Committed by Takashi Iwai

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: 3e39acf5 ("ALSA: core: Add sound core KUnit test")
Signed-off-by: default avatarIvan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20240201221122.16627-1-ivan.orlov0322@gmail.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8b87a786
...@@ -42,6 +42,7 @@ config SND_UMP_LEGACY_RAWMIDI ...@@ -42,6 +42,7 @@ config SND_UMP_LEGACY_RAWMIDI
config SND_CORE_TEST config SND_CORE_TEST
tristate "Sound core KUnit test" tristate "Sound core KUnit test"
depends on KUNIT depends on KUNIT
select SND_PCM
default KUNIT_ALL_TESTS default KUNIT_ALL_TESTS
help help
This options enables the sound core functions KUnit test. This options enables the sound core functions KUnit test.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment