ALSA: core: Fix dependencies for SND_CORE_TEST
PATCH 1/1 ALSA: core: Fix dependencies for SND_CORE_TEST
Add the CONFIG_SND_PCM dependency for CONFIG_SND_CORE_TEST config entry as the test uses symbols from 'pcm_misc.c'.
--- sound/core/Kconfig | 1 + 1 file changed, 1 insertion(+)
sound/core/Kconfig +1 -0
@@ -42,6 +42,7 @@ config SND_UMP_LEGACY_RAWMIDI config SND_CORE_TEST tristate "Sound core KUnit test" depends on KUNIT + depends on SND_PCM default KUNIT_ALL_TESTS help This options enables the sound core functions KUnit test.
Signature · 1 line
2.34.1
Quoted 5 lines · Ivan Orlov
Add the
CONFIG_SND_PCMdependency forCONFIG_SND_CORE_TESTconfig entry as the test uses symbols from 'pcm_misc.c'.Signed-off-by Ivan Orlov <[email protected]>
It should rather select instead of depends-on. User can't enable CONFIG_SND_PCM explicitly, but it's selected by the top-level drivers.
Also, please add Fixes tag. It's a clear regression fix.
thanks,
Takashi
Quoted 7 lines · Takashi Iwai
It should rather select instead of depends-on. User can't enable
CONFIG_SND_PCMexplicitly, but it's selected by the top-level drivers.Also, please add Fixes tag. It's a clear regression fix.
Alright, I'll send the V2 with suggested changes.
Thank you for the review!
Signature · 2 lines
Kind regards, Ivan Orlov