mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
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: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://lore.kernel.org/r/20200224112537.14483-1-geert@linux-m68k.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
8101d76253
commit
5a30987578
@ -1610,16 +1610,19 @@ config SND_SOC_WM9090
|
||||
|
||||
config SND_SOC_WM9705
|
||||
tristate
|
||||
depends on SND_SOC_AC97_BUS
|
||||
select REGMAP_AC97
|
||||
select AC97_BUS_COMPAT if AC97_BUS_NEW
|
||||
|
||||
config SND_SOC_WM9712
|
||||
tristate
|
||||
depends on SND_SOC_AC97_BUS
|
||||
select REGMAP_AC97
|
||||
select AC97_BUS_COMPAT if AC97_BUS_NEW
|
||||
|
||||
config SND_SOC_WM9713
|
||||
tristate
|
||||
depends on SND_SOC_AC97_BUS
|
||||
select REGMAP_AC97
|
||||
select AC97_BUS_COMPAT if AC97_BUS_NEW
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user