Skip to contentSkip to conversation

ASoC: Make SND_SOC_LITTLEMILL select MFD_WM8994

PATCH Applied Axel Lin 2 participants 2 messages Dec 4, 2011

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: Make SND_SOC_LITTLEMILL select MFD_WM8994

SND_SOC_LITTLEMILL selects SND_SOC_WM8994, but SND_SOC_WM8994 needs MFD_WM8994. Thus we need to select MFD_WM8994 to fix below build error:

LD .tmp_vmlinux1
sound/built-in.o: In function `wm8994_write':
sound/soc/codecs/wm8994.c:201: undefined reference to wm8994_reg_write' sound/built-in.o: In function wm8994_read':
sound/soc/codecs/wm8994.c:222: undefined reference to wm8994_reg_read' sound/built-in.o: In function wm8994_resume':
sound/soc/codecs/wm8994.c:2847: undefined reference to wm8994_reg_read' sound/built-in.o: In function wm8994_codec_probe':
sound/soc/codecs/wm8994.c:3501: undefined reference to wm8994_reg_read' sound/soc/codecs/wm8994.c:3660: undefined reference to wm8994_reg_read' sound/soc/codecs/wm8994.c:3672: undefined reference to wm8994_reg_read' sound/built-in.o: In function wm8958_dsp2_fw':
sound/soc/codecs/wm8958-dsp2.c:154: undefined reference to `wm8994_bulk_write'
make: *** [.tmp_vmlinux1] Error 1

---
 sound/soc/samsung/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/samsung/Kconfig +1 -0
index 09d636c..f3417f2 100644
@@ -210,4 +210,5 @@ config SND_SOC_LITTLEMILL
 	tristate "Audio support for Wolfson Littlemill"
 	depends on SND_SOC_SAMSUNG && MACH_WLF_CRAGG_6410
 	select SND_SAMSUNG_I2S
+	select MFD_WM8994
 	select SND_SOC_WM8994
Signature · 1 line
1.7.5.4
Applied
#1 lore raw
Quoted 3 lines · Axel Lin

SND_SOC_LITTLEMILL selects SND_SOC_WM8994, but SND_SOC_WM8994 needs MFD_WM8994. Thus we need to select MFD_WM8994 to fix below build error:

Applied, thanks.