OSDN Git Service

ASoC: sc7280: Really depends on SOUNDWIRE
authorMark Brown <broonie@kernel.org>
Wed, 23 Feb 2022 01:19:12 +0000 (01:19 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Feb 2022 02:04:14 +0000 (02:04 +0000)
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@kernel.org>
Link: https://lore.kernel.org/r/20220223011913.2753938-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig

index dd5949e..f09dc0f 100644 (file)
@@ -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