aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJai Luthra <[email protected]>2024-06-11 18:02:55 +0530
committerMark Brown <[email protected]>2024-06-11 17:13:31 +0100
commite8343410ddf08fc36a9b9cc7c51a4e53a262d4c6 (patch)
treecb7d5a69b3b007d8f3192ee45c937afb97de276f /scripts/generate_rust_analyzer.py
parentb9dd212b14d27a53b63fc6621c452c0b3a01f61d (diff)
ALSA: dmaengine: Synchronize dma channel after drop()
Sometimes the stream may be stopped due to XRUN events, in which case the userspace can call snd_pcm_drop() and snd_pcm_prepare() to stop and start the stream again. In these cases, we must wait for the DMA channel to synchronize before marking the stream as prepared for playback, as the DMA channel gets stopped by drop() without any synchronization. Make sure the ALSA core synchronizes the DMA channel by adding a sync_stop() hook. Reviewed-by: Peter Ujfalusi <[email protected]> Signed-off-by: Jai Luthra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions