[alsa-devel] ASoC: DMA Platform driver for i.mx27

Mark Brown broonie at sirena.org.uk
Wed Apr 15 11:43:01 CEST 2009


On Wed, Apr 15, 2009 at 11:10:43AM +0200, javier Martin wrote:
> 2009/4/14 Mark Brown <broonie at sirena.org.uk>

> > Replace this with use of the standard pr_dbg() macro.

> Do you mean that I must do:

> Or that I must use a pr_dbg macro defined elsewhere (I don't find it)?

pr_dbg() is defined in some standard kernel header that gets included
everywhere - you shouldn't need to define it yourself.

> Yes, you are right. I was aware of this issue. But current dai "imx-ssi.c"
> only exports dma data for the SDMA API used in i.mx31. So I provisionally
> use this trick untill I fix that in the SSI.

That's fine for development.

> > This will free both TX and RX DMA channels but you only allocated one of
> > them when the device is opened.

> Man, I missed that, thanks.
> Do you think this could be related to the problem of not being able of
> having both directions working properly?

If things are going wrong when you free a stream - if it's at other
times it's less likely.


More information about the Alsa-devel mailing list