[alsa-devel] [PATCH v3 09/11] ASoC: fsl: remove the fatal error checking on codec-handle

Shawn Guo shawn.guo at linaro.org
Fri Mar 16 05:14:33 CET 2012


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


More information about the Alsa-devel mailing list