Commit c1c050ee authored by Wei Li's avatar Wei Li Committed by Mark Brown

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: ce0c97f8 ("ASoC: Fix SND_SOC_ALL_CODECS imply SPI fallout")
Signed-off-by: default avatarWei Li <liwei391@huawei.com>
Link: https://lore.kernel.org/r/20200420202410.47327-3-liwei391@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 91e475b5
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment