[PATCH v3] dmaengine: mxs-dma: add dma support for i.MX23/28

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Feb 23 05:05:47 EST 2011


On Wed, Feb 23, 2011 at 11:25:16AM +0530, Koul, Vinod wrote:
> Well in that case you are calling the callback from irq handler which is
> not so good. The tasklet is other extreme (slow).

tasklets are run on the exit path of interrupts.

> Given that this is
> also intended for audio I am not sure if calling period elapsed from
> tasklet callback will not cause any audio over/underruns, last I tried
> it used to break quite often in stressed situations.

Nevertheless, the DMA engine API specifies that callbacks shall be called
from tasklet context.



More information about the linux-arm-kernel mailing list