Commit 5a309875 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Mark Brown

ASoC: Fix SND_SOC_ALL_CODECS imply ac97 fallout

On i386 randconfig:

    sound/soc/codecs/wm9705.o: In function `wm9705_soc_resume':
    wm9705.c:(.text+0x128): undefined reference to `snd_ac97_reset'
    sound/soc/codecs/wm9712.o: In function `wm9712_soc_resume':
    wm9712.c:(.text+0x2d1): undefined reference to `snd_ac97_reset'
    sound/soc/codecs/wm9713.o: In function `wm9713_soc_resume':
    wm9713.c:(.text+0x820): undefined reference to `snd_ac97_reset'

Fix this by adding the missing dependencies on SND_SOC_AC97_BUS.
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20200224112537.14483-1-geert@linux-m68k.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8101d762
...@@ -1610,16 +1610,19 @@ config SND_SOC_WM9090 ...@@ -1610,16 +1610,19 @@ config SND_SOC_WM9090
config SND_SOC_WM9705 config SND_SOC_WM9705
tristate tristate
depends on SND_SOC_AC97_BUS
select REGMAP_AC97 select REGMAP_AC97
select AC97_BUS_COMPAT if AC97_BUS_NEW select AC97_BUS_COMPAT if AC97_BUS_NEW
config SND_SOC_WM9712 config SND_SOC_WM9712
tristate tristate
depends on SND_SOC_AC97_BUS
select REGMAP_AC97 select REGMAP_AC97
select AC97_BUS_COMPAT if AC97_BUS_NEW select AC97_BUS_COMPAT if AC97_BUS_NEW
config SND_SOC_WM9713 config SND_SOC_WM9713
tristate tristate
depends on SND_SOC_AC97_BUS
select REGMAP_AC97 select REGMAP_AC97
select AC97_BUS_COMPAT if AC97_BUS_NEW select AC97_BUS_COMPAT if AC97_BUS_NEW
......
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