ASoC: qcom: Kconfig: fix dependency for sdm845
authorCheng-Yi Chiang <cychiang@chromium.org>
Mon, 25 Feb 2019 13:54:05 +0000 (21:54 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 26 Feb 2019 11:45:46 +0000 (11:45 +0000)
SND_SOC_CROS_EC_CODEC depends on MFD_CROS_EC.
Add that dependency to SND_SOC_SDM845 to fix unmet direct dependencies
warning.

Fixes: 74c6ecf4194e (ASoC: qcom: Kconfig: select dmic for sdm845)
Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig

index 8f206cb4fcc0e090c7587ef8415ddc37a2430d5f..75ceb04d8bf051fdb2aeae10cf6514105dbfb5ef 100644 (file)
@@ -98,7 +98,7 @@ config SND_SOC_MSM8996
 
 config SND_SOC_SDM845
        tristate "SoC Machine driver for SDM845 boards"
-       depends on QCOM_APR
+       depends on QCOM_APR && MFD_CROS_EC
        select SND_SOC_QDSP6
        select SND_SOC_QCOM_COMMON
        select SND_SOC_RT5663