]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ASoC: qcom: add i2c dependency for SND_SOC_SDM845
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Mar 2019 20:30:52 +0000 (21:30 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 16:31:49 +0000 (16:31 +0000)
We must not select SND_SOC_MAX98927 unless CONFIG_I2C
is also enabled:

WARNING: unmet direct dependencies detected for SND_SOC_MAX98927
  Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=n]
  Selected by [y]:
  - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y] && MFD_CROS_EC [=y]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Cheng-Yi Chiang <cychiang@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig

index 75ceb04d8bf051fdb2aeae10cf6514105dbfb5ef..b1764af858ba5f607fe682dd6e2e138e24bd6c25 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 && MFD_CROS_EC
+       depends on QCOM_APR && MFD_CROS_EC && I2C
        select SND_SOC_QDSP6
        select SND_SOC_QCOM_COMMON
        select SND_SOC_RT5663