[alsa-devel] [PATCH v2] ASoC: imx: Allow using sound with DT descriptions only

Alexander Shiyan shc_work at mail.ru
Fri Jan 10 13:31:12 CET 2014


On Fri, 10 Jan 2014 11:45:04 +0800
Shawn Guo <shawn.guo at linaro.org> wrote:

> On Wed, Jan 08, 2014 at 12:43:55PM +0400, Alexander Shiyan wrote:
> > This patch allow using generic sound cards/codecs based on DT description.
> > 
> > Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> > ---
> >  sound/soc/fsl/Kconfig   | 25 +++----------------------
> >  sound/soc/fsl/Makefile  |  5 ++---
> >  sound/soc/fsl/imx-pcm.h |  7 -------
> >  3 files changed, 5 insertions(+), 32 deletions(-)
> > 
> > diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
> > index 1c7b3b7..cf0d5af 100644
> > --- a/sound/soc/fsl/Kconfig
> > +++ b/sound/soc/fsl/Kconfig
> > @@ -7,6 +7,7 @@ config SND_SOC_FSL_SSI
> >  
> >  config SND_SOC_FSL_SPDIF
> >  	tristate
> > +	select REGMAP_MMIO
> >  
> >  config SND_SOC_FSL_UTILS
> >  	tristate
> > @@ -106,6 +107,8 @@ endif # SND_POWERPC_SOC
> >  menuconfig SND_IMX_SOC
> >  	tristate "SoC Audio for Freescale i.MX CPUs"
> >  	depends on ARCH_MXC || COMPILE_TEST
> > +	select SND_SOC_FSL_SSI if OF
> > +	select SND_SOC_GENERIC_DMAENGINE_PCM
> 
> I'm seeing the following link error when I build a kernel with
> SND_IMX_SOC=y and SND_SOC_PHYCORE_AC97=m.
> 
> sound/built-in.o: In function `fsl_ssi_probe':
> last.c:(.text+0x292c0): undefined reference to `imx_pcm_fiq_init'

Oops. I'll fix this in v3.

-- 
Alexander Shiyan <shc_work at mail.ru>


More information about the Alsa-devel mailing list