[alsa-devel] ASoC: Build error if CONFIG_I2C=m && CONFIG_SND_SOC=y

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Dec 6 15:09:41 CET 2011

On Tue, Dec 06, 2011 at 08:43:24PM +0800, Axel Lin wrote:

> I got below build error if CONFIG_I2C=m && CONFIG_SND_SOC=y.

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

> ( I test the build on linux-next 20111206 )

If someone wants to do the Kconfig or whatever to handle that they're
welcome to but it's frankly unrealistic so...

More information about the Alsa-devel mailing list