Skip to contentSkip to conversation

ALSA: core: Fix dependencies for SND_CORE_TEST

PATCH Applied Ivan Orlov 2 participants 2 messages Feb 1, 2024 – Feb 2, 2024 Sound

lore
Share & tools
lore

Ivan Orlov

author
#0 lore raw

PATCH v2 1/1 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")

---
V1 -> V2:
- Change 'depends' with 'select', as the user can't enable SND_PCM explicitly.
- Add 'Fixes' tag since it is a regression fix.

 sound/core/Kconfig | 1 +
 1 file changed, 1 insertion(+)
sound/core/Kconfig +1 -0
index 664c6ee2b5a1..8077f481d84f 100644
@@ -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.
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 6 lines · Ivan Orlov

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")

Thanks, applied now.

Takashi