diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2024-04-01 13:02:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-04-02 17:54:49 +0300 |
commit | ef7784e41db73f3d31ce545227ebba4483479a26 (patch) | |
tree | 59f5cd34fedfda691ea4ad0fb53404c26efc88ce /sound/soc/Kconfig | |
parent | 897cc72b08374c1224a9ded03c82dfc8e41f80c2 (diff) | |
download | linux-ef7784e41db73f3d31ce545227ebba4483479a26.tar.xz |
ASoC: soc-card: Add KUnit test case for snd_soc_card_get_kcontrol
Add a new snd-soc-card KUnit test with a simple test case for
snd_soc_card_get_kcontrol() and snd_soc_card_get_kcontrol_locked().
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://msgid.link/r/20240401100210.61277-4-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/Kconfig')
-rw-r--r-- | sound/soc/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 439fa631c342..a52afb423b46 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig @@ -66,6 +66,14 @@ config SND_SOC_TOPOLOGY_KUNIT_TEST userspace applications such as pulseaudio, to prevent unnecessary problems. +config SND_SOC_CARD_KUNIT_TEST + tristate "KUnit tests for SoC card" + depends on KUNIT + default KUNIT_ALL_TESTS + help + If you want to perform tests on ALSA SoC card functions say Y here. + If unsure, say N. + config SND_SOC_UTILS_KUNIT_TEST tristate "KUnit tests for SoC utils" depends on KUNIT |