Phil Endecott

Sound with 2.6.38

Discussion created by Phil Endecott on Oct 30, 2011
Latest reply on Nov 29, 2011 by Ivan Wagner
What's up with sound in the 2.6.38 kernel config?  This board has the SGTL5000 audio chip. In the 2.6.35 kernel config, I had  CONFIG_SND_SOC_IMX_3STACK_SGTL5000=y CONFIG_SND_SOC_SGTL5000=y  In 2.6.38, there is this in sound/soc/imx/Kconfig:  config SND_SOC_IMX_SGTL5000 tristate "SoC Audio support for i.MX boards with sgtl5000" depends on MACH_MX35_3DS || MACH_MX51_BABBAGE select SND_SOC_SGTL5000 select SND_MXC_SOC_MX2 help Say Y if you want to add support for SoC audio on an i.MX board with a sgtl5000 codec.  So that is disabled on MACH_MX53_LOCO, and there doesn't seem to be any other way to turn on SGTL5000 support.  I have tried hacking it to also depend on MACH_MX53_LOCO, but when I do that I get a link error:  sound/built-in.o: In function `imx_sgtl5000_probe': last.c:(.devinit.text+0x215c): undefined reference to `mxc_audmux_v2_configure_port' last.c:(.devinit.text+0x2170): undefined reference to `mxc_audmux_v2_configure_port'  What is going on here? Does sound work on the pre-built 2.6.38 kernels? If it does, how has the kernel been configured?

Outcomes