Skip to content

Commit 7bc0835

Browse files
Srinivas-Kandagatlabroonie
authored andcommitted
ASoC: qcom: fix unmet direct dependencies for SND_SOC_QDSP6
SND_SOC_QDSP6 already has COMPILE_TEST so remove that from SND_SOC_SC8280XP and also add QCOM_APR dependencies to SND_SOC_SC8280XP like other Qualcomm machine drivers. This should also fix below warning: on x86_64, when QCOM_APR is not set and COMPILE_TEST=y: WARNING: unmet direct dependencies detected for SND_SOC_QDSP6 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_QCOM [=y] && QCOM_APR [=n] && COMMON_CLK [=y] Selected by [y]: - SND_SOC_SC8280XP [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_QCOM [=y] && (QCOM_APR [=n] || COMPILE_TEST [=y]) && SOUNDWIRE [=y] && COMMON_CLK [=y] Fixes: 295aeea ("ASoC: qcom: add machine driver for sc8280xp") Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 4674284 commit 7bc0835

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sound/soc/qcom/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ config SND_SOC_SM8250
175175

176176
config SND_SOC_SC8280XP
177177
tristate "SoC Machine driver for SC8280XP boards"
178-
depends on QCOM_APR || COMPILE_TEST
179-
depends on SOUNDWIRE
178+
depends on QCOM_APR && SOUNDWIRE
180179
depends on COMMON_CLK
181180
select SND_SOC_QDSP6
182181
select SND_SOC_QCOM_COMMON

0 commit comments

Comments
 (0)