Skip to content

Commit b82d67f

Browse files
arndbbroonie
authored andcommitted
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: Arnd Bergmann <[email protected]> Fixes: 0525251 ("ASoC: wm8985: add i2c dependency") Signed-off-by: Mark Brown <[email protected]>
1 parent 0525251 commit b82d67f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: sound/soc/codecs/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ config SND_SOC_WM8983
945945

946946
config SND_SOC_WM8985
947947
tristate "Wolfson Microelectronics WM8985 and WM8758 codec driver"
948-
depends on I2C
948+
depends on SND_SOC_I2C_AND_SPI
949949

950950
config SND_SOC_WM8988
951951
tristate

0 commit comments

Comments
 (0)