Skip to content

Commit

Permalink
ASoC fix up SND_SOC_WM8985 dependency
Browse files Browse the repository at this point in the history
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: Arnd Bergmann <arnd@arndb.de>
Fixes: 0525251 ("ASoC: wm8985: add i2c dependency")
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Arnd Bergmann authored and Mark Brown committed Jun 17, 2016
1 parent 0525251 commit b82d67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ config SND_SOC_WM8983

config SND_SOC_WM8985
tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver"
depends on I2C
depends on SND_SOC_I2C_AND_SPI

config SND_SOC_WM8988
tristate
Expand Down

0 comments on commit b82d67f

Please sign in to comment.