diff options
author | Mark Brown <broonie@kernel.org> | 2025-04-14 11:23:43 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-14 11:23:43 +0100 |
commit | 1749125091cd0834632ac295caa65f8c57628be6 (patch) | |
tree | c82bc06c4e335e250fdb41f4fcdc53619242b380 /sound | |
parent | 9aff2e8df240e84a36f2607f98a0a9924a24e65d (diff) | |
parent | a0b887f6eb9a0d1be3c57d00b0f3ba8408d3018a (diff) |
Fix up building KUnit tests for Cirrus Logic modules
Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>:
This series fixes the KConfig for cs_dsp and cs-amp-lib tests so that
CONFIG_KUNIT_ALL_TESTS doesn't cause them to add modules to the build.
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/Kconfig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 40bb7a1d44bc..20f99cbee29b 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -776,10 +776,9 @@ config SND_SOC_CS_AMP_LIB tristate config SND_SOC_CS_AMP_LIB_TEST - tristate "KUnit test for Cirrus Logic cs-amp-lib" - depends on KUNIT + tristate "KUnit test for Cirrus Logic cs-amp-lib" if !KUNIT_ALL_TESTS + depends on SND_SOC_CS_AMP_LIB && KUNIT default KUNIT_ALL_TESTS - select SND_SOC_CS_AMP_LIB help This builds KUnit tests for the Cirrus Logic common amplifier library. |