All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next] ASoC: build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y
@ 2011-08-23 11:46 Axel Lin
  2011-08-23 17:42   ` Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Axel Lin @ 2011-08-23 11:46 UTC (permalink / raw)
  To: linux-kernel; +Cc: Liam Girdwood, Mark Brown, alsa-devel


hi,
I got below build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y

  LD      .tmp_vmlinux1
sound/built-in.o: In function `snd_soc_codec_set_cache_io':
last.c:(.text+0x1cb80): undefined reference to `regmap_init_i2c'
make: *** [.tmp_vmlinux1] Error 1

Regards,
Axel




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

* Re: [linux-next] ASoC: build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y
  2011-08-23 11:46 [linux-next] ASoC: build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y Axel Lin
@ 2011-08-23 17:42   ` Randy Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2011-08-23 17:42 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Liam Girdwood, Mark Brown, alsa-devel

On Tue, 23 Aug 2011 19:46:00 +0800 Axel Lin wrote:

> 
> hi,
> I got below build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y
> 
>   LD      .tmp_vmlinux1
> sound/built-in.o: In function `snd_soc_codec_set_cache_io':
> last.c:(.text+0x1cb80): undefined reference to `regmap_init_i2c'
> make: *** [.tmp_vmlinux1] Error 1


I don't know if this is the same failure or just similar:

ERROR: "regmap_exit" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_bulk_read" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_read" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_init_i2c" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_raw_read" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_write" [drivers/mfd/wm8400-core.ko] undefined!

Maybe MFD_WM8400 needs to select REGMAP_I2C ?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

* Re: [linux-next] ASoC: build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y
@ 2011-08-23 17:42   ` Randy Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2011-08-23 17:42 UTC (permalink / raw)
  To: Axel Lin; +Cc: alsa-devel, Mark Brown, linux-kernel, Liam Girdwood

On Tue, 23 Aug 2011 19:46:00 +0800 Axel Lin wrote:

> 
> hi,
> I got below build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y
> 
>   LD      .tmp_vmlinux1
> sound/built-in.o: In function `snd_soc_codec_set_cache_io':
> last.c:(.text+0x1cb80): undefined reference to `regmap_init_i2c'
> make: *** [.tmp_vmlinux1] Error 1


I don't know if this is the same failure or just similar:

ERROR: "regmap_exit" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_bulk_read" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_read" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_init_i2c" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_raw_read" [drivers/mfd/wm8400-core.ko] undefined!
ERROR: "regmap_write" [drivers/mfd/wm8400-core.ko] undefined!

Maybe MFD_WM8400 needs to select REGMAP_I2C ?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

* Re: [linux-next] ASoC: build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y
  2011-08-23 17:42   ` Randy Dunlap
@ 2011-08-24  9:29     ` Mark Brown
  -1 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2011-08-24  9:29 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Axel Lin, linux-kernel, Liam Girdwood, alsa-devel

On Tue, Aug 23, 2011 at 10:42:53AM -0700, Randy Dunlap wrote:

> I don't know if this is the same failure or just similar:

> ERROR: "regmap_exit" [drivers/mfd/wm8400-core.ko] undefined!

No, that's totally unrelated.  Fixed now.

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

* Re: [linux-next] ASoC: build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y
@ 2011-08-24  9:29     ` Mark Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2011-08-24  9:29 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Axel Lin, linux-kernel, alsa-devel, Liam Girdwood

On Tue, Aug 23, 2011 at 10:42:53AM -0700, Randy Dunlap wrote:

> I don't know if this is the same failure or just similar:

> ERROR: "regmap_exit" [drivers/mfd/wm8400-core.ko] undefined!

No, that's totally unrelated.  Fixed now.

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

end of thread, other threads:[~2011-08-24  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 11:46 [linux-next] ASoC: build failure if CONFIG_I2C=m && CONFIG_SPI=y && CONFIG_SND_SOC=y Axel Lin
2011-08-23 17:42 ` Randy Dunlap
2011-08-23 17:42   ` Randy Dunlap
2011-08-24  9:29   ` Mark Brown
2011-08-24  9:29     ` 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.