[PATCH] ASoC: sc7280: Really depends on SOUNDWIRE

Mark Brown broonie at kernel.org
Wed Feb 23 02:19:12 CET 2022


The sc7280 driver really does depend on SOUNDWIRE since it calls various
sdw_ functions (eg, sdw_enable_stream(), sdw_prepare_stream()) which do
not have stubs when that is disabled so we can't build with COMPILE_TEST.

Signed-off-by: Mark Brown <broonie at kernel.org>
---
 sound/soc/qcom/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig
index dd5949eb6b15..f09dc0fcff0b 100644
--- a/sound/soc/qcom/Kconfig
+++ b/sound/soc/qcom/Kconfig
@@ -178,7 +178,7 @@ config SND_SOC_SC7180
 
 config SND_SOC_SC7280
 	tristate "SoC Machine driver for SC7280 boards"
-	depends on I2C && SOUNDWIRE || COMPILE_TEST
+	depends on I2C && SOUNDWIRE
 	select SND_SOC_QCOM_COMMON
 	select SND_SOC_LPASS_SC7280
 	select SND_SOC_MAX98357A
-- 
2.30.2



More information about the Alsa-devel mailing list