ASoC: qcom: fix unmet direct dependencies for SND_SOC_QDSP6
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 30 Sep 2022 10:53:47 +0000 (11:53 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 30 Sep 2022 11:03:12 +0000 (12:03 +0100)
commit7bc08355a4917f2bbd38e7af5207f339f47e5d36
tree4148d697fd3ecb6b690cd0c1d411c52dd1a7d3c3
parent4674284aa74cfc6db0c54c16f9557ed8c3552409
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: 295aeea6646a ("ASoC: qcom: add machine driver for sc8280xp")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220930105347.41127-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig