16 Mar
2012
16 Mar
'12
5:14 a.m.
On Fri, Mar 16, 2012 at 04:08:32AM +0000, Tabi Timur-B04825 wrote:
Shawn Guo wrote:
But it's instantiated as a dmaengine device backed by dmaengine driver drivers/dma/imx-dma.c. "imx-pcm-audio" will just be an ASoC dmaengine client using dmaengine API.
So you don't have the equivalent of sound/soc/fsl_dma.c? Don't you need to program the DMA controller specifically for audio? There's no way I could use drivers/dma/fsldma.c for audio.
I need to program the DMA controller for audio. But that's done through generic dmaengine API with audio specific parameters passed in. That's pretty much what all snd_imx_pcm_hw_params (sound/soc/fsl/imx-pcm-dma.c) does there.
--
Regards,
Shawn