Skip to content

Commit

Permalink
ASoC: Fix wrong dependency of da7210 and wm8983
Browse files Browse the repository at this point in the history
As these two drivers support I2C and SPI, we should add the SND_SOC_I2C_AND_SPI
dependency instead.

Fixes: ce0c97f ("ASoC: Fix SND_SOC_ALL_CODECS imply SPI fallout")
Signed-off-by: Wei Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
stkid authored and broonie committed Apr 20, 2020
1 parent 91e475b commit c1c050e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit c1c050e

Please sign in to comment.