[alsa-devel] Help for writting an ASoC driver

Mark Brown broonie at sirena.org.uk
Tue Apr 14 15:36:29 CEST 2009


On Mon, Apr 13, 2009 at 12:50:07PM -0500, Ernesto Torres wrote:

Please do not top post.

> from omap_pcm_hw_params:
>     err = omap_request_dma(dma_data->dma_req, dma_data->name,
>                    omap_pcm_dma_irq, substream, &prtd->dma_ch);

> With twl4030 it successfully calls omap_pcm_dma_irq, but with my codec it
> never get called, am I forgetting to set some value?

You probably have an error in your machine driver (or possibly codec
driver if that's not one that's been tested by other people).  It is
likely that some earlier part of the setup process is returning an
error.

Also try testing with the standard ALSA applications to eliminate the
possibility of bugs in your application.


More information about the Alsa-devel mailing list