Thread (18 messages) flat view 18 messages, 5 authors, 2014-08-19

RE: [alsa-devel] [PATCH V1 1/3] ASoC: fsl: Kconfig: remove dependence of SND_IMX_SOC for SND_SOC_IMX_PCM_DMA

From: Li.Xiubo@freescale.com <hidden>
Date: 2014-08-19 08:31:55
Also in: alsa-devel, lkml

quoted
quoted
Lars-Peter Clausen & Arnd

The purpose of Arnd's patch is same with me, which is to resolve the =
build
quoted
quoted
error when SND_SOC_IMX_PCM_DMA=3Dm & SND_SOC_FSL_SSI/SAI/ESAI/SPDIF=
=3Dy, the
quoted
quoted
error is "undefined reference to `imx_pcm_dma_init'".
But Arnd's patch didn't involve this situation that SND_IMX_SOC=3Dn &
SND_SOC_IMX_PCM_DMA=3Dm.

Currently I think out a solution for this issue is to change

select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC !=3D n

to

depends on SND_SOC_IMX_PCM_DMA !=3D m

How do you think about this?
What will happen if to build both SAI/ESAI and IMX_PCM_DMA as modules a=
t the
same
quoted
time ?

Thanks,

BRs
Xiubo
=20
I didn't find error/warning when SAI/ESAI and IMX_PCM_DMA are as modules.=
 The
build is successful.
=20
Yes, but if IMX_PCM_DMA =3D=3D m, the SAI/ESAI will be invisible in menucon=
fig....
Does it matter here ?

BRs
Xiubo

quoted
quoted
best regards
Wang shengjiu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help