[alsa-devel] [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown

Lars-Peter Clausen lars at metafoo.de
Tue Oct 20 15:01:27 CEST 2015


[...]
> I've tested this series with xrun injection and some modifications to the
> DMA driver to always trigger the race condition when the stream is stopped.
> And I've not seen any issues after the transfer re-started. (There is a
> dead-lock condition though but that does not seem to be related to this series)

Turns out that was a bug in the DMA driver that caused
snd_pcm_period_elapsed() to be called on the TRIGGER_START path. So the ALSA
side seems to be good.



More information about the Alsa-devel mailing list