diff options
author | Wei Li <liwei391@huawei.com> | 2020-04-20 23:24:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-20 16:56:26 +0300 |
commit | c1c050ee74d67aeb879fd38e3a07139d7fdb79f4 (patch) | |
tree | 8e2e1dab9fc1b39a566723329f41da51a4372fe4 /sound/soc/codecs/Kconfig | |
parent | 91e475b5e810c7e0d6346e58017507d66a23f526 (diff) | |
download | linux-c1c050ee74d67aeb879fd38e3a07139d7fdb79f4.tar.xz |
ASoC: Fix wrong dependency of da7210 and wm8983
As these two drivers support I2C and SPI, we should add the SND_SOC_I2C_AND_SPI
dependency instead.
Fixes: ce0c97f8a2936 ("ASoC: Fix SND_SOC_ALL_CODECS imply SPI fallout")
Signed-off-by: Wei Li <liwei391@huawei.com>
Link: https://lore.kernel.org/r/20200420202410.47327-3-liwei391@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r-- | sound/soc/codecs/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index e60e0b6a689c..d0fec1b90256 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -717,7 +717,7 @@ config SND_SOC_L3 config SND_SOC_DA7210 tristate - depends on I2C + depends on SND_SOC_I2C_AND_SPI config SND_SOC_DA7213 tristate "Dialog DA7213 CODEC" @@ -1569,7 +1569,7 @@ config SND_SOC_WM8978 config SND_SOC_WM8983 tristate - depends on I2C + depends on SND_SOC_I2C_AND_SPI config SND_SOC_WM8985 tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver" |