Commit b82d67f4 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown

ASoC fix up SND_SOC_WM8985 dependency

I just added an I2C dependency to the wm8985 driver to work around
a build failure, but it turns out that was premature: we actually
need to depend on SND_SOC_I2C_AND_SPI, as the driver can work with either
of the two, and we only need to prevent a configuration that has
I2C=m and SND_SOC_WM8985=y.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 05252513 ("ASoC: wm8985: add i2c dependency")
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 05252513
...@@ -945,7 +945,7 @@ config SND_SOC_WM8983 ...@@ -945,7 +945,7 @@ config SND_SOC_WM8983
config SND_SOC_WM8985 config SND_SOC_WM8985
tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver" tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver"
depends on I2C depends on SND_SOC_I2C_AND_SPI
config SND_SOC_WM8988 config SND_SOC_WM8988
tristate tristate
......
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