Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dai-zephyr: Do not skip dma_reload() when sink if full #8479

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

serhiy-katsyuba-intel
Copy link
Contributor

If sink is full and so no bytes were copied, reload DMA anyway as otherwise xrun may happen if reload is skipped for a long time.

This is a back port from mtl-006-drop-stable. It fixes the issue #8224.

This fixes dai_zephyr_multi_endpoint_copy() (multi-gateway DAI case). Normal (single gateway DAI) case has been already fixed some time ago by this commit 5ad5da5.

If sink is full and so no bytes were copied, reload DMA anyway as
otherwise xrun may happen if reload is skipped for a long time.

Signed-off-by: Serhiy Katsyuba <[email protected]>
@kv2019i kv2019i merged commit 56a6d0d into thesofproject:main Nov 14, 2023
42 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants