[alsa-devel] [PATCH] ASoC: s3c24xx platform: Fix s3c2410_dma_started called at wrong time
shinel at foxmail.com
Thu Aug 20 15:38:00 CEST 2009
On Thu, 2009-08-20 at 13:18 +0100, Mark Brown wrote:
> Yes, I understand the problem. The callback I suggest above ought to
> allow the appropriate sequencing - the DMA driver can call the callback
> to start the DAI in between starting the DMA and kicking the DMA API to
> queue the next block. That would avoid the abstraction problems.
Callback is a elegant way to solve the problem. But I have a question
that when should the DMA driver call the callback funtion? There is no
event to tell it to call. Periodly checking? It will not only cause
latency but also increase the system load.
More information about the Alsa-devel