[alsa-devel] DMA engine API issue

Lars-Peter Clausen lars at metafoo.de
Thu Jul 24 05:29:09 PDT 2014


On 07/23/2014 01:07 PM, Laurent Pinchart wrote:
[...]
> Let's start by answering the background question and updating the DMA engine
> API documentation once and for good : in which context are drivers allowed to
> call the prep, tx_submit and issue_pending functions ?
>

I think the expectation is that these functions can be called in any 
context. Maybe what's missing is a way to tell the DMA engine driver to get 
ready and that it is going to be used very soon. This could be done from the 
sound devices open() callback.

- Lars



More information about the linux-arm-kernel mailing list