All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Make SND_SOC_LITTLEMILL select MFD_WM8994
@ 2011-12-04  0:15 Axel Lin
  2011-12-04  1:25 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-12-04  0:15 UTC (permalink / raw)
  To: alsa-devel; +Cc: Sangbeom Kim, Brown, Liam Girdwood, Mark

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 sound/soc/samsung/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig
index 09d636c..f3417f2 100644
--- a/sound/soc/samsung/Kconfig
+++ b/sound/soc/samsung/Kconfig
@@ -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
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: Make SND_SOC_LITTLEMILL select MFD_WM8994
  2011-12-04  0:15 [PATCH] ASoC: Make SND_SOC_LITTLEMILL select MFD_WM8994 Axel Lin
@ 2011-12-04  1:25 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-12-04  1:25 UTC (permalink / raw)
  To: Axel Lin; +Cc: Sangbeom Kim, alsa-devel, Liam Girdwood

On Sun, Dec 04, 2011 at 08:15:17AM +0800, Axel Lin wrote:
> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-04  1:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-04  0:15 [PATCH] ASoC: Make SND_SOC_LITTLEMILL select MFD_WM8994 Axel Lin
2011-12-04  1:25 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.