Unverified Commit 96014d91 authored by Richard Fitzgerald's avatar Richard Fitzgerald Committed by Mark Brown
Browse files

ASoC: cs-amp-lib-test: Don't select SND_SOC_CS_AMP_LIB



Depend on SND_SOC_CS_AMP_LIB instead of selecting it.

KUNIT_ALL_TESTS should only build tests for components that are
already being built, it should not cause other stuff to be added
to the build.

Fixes: 17786231 ("ASoC: cs-amp-lib: Add KUnit test for calibration helpers")
Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20250411123608.1676462-3-rf@opensource.cirrus.com


Reviewed-by: default avatarDavid Gow <davidgow@google.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1aa495a6
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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.