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

[Backport v3.7-branch] drivers: dai: sai: don't crash on underrun/overrun #77651

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Aug 27, 2024

Backport e224a41 from #77236.

Fixes #77633

TX/RX FIFO underrun shouldn't crash the RTOS when it occurs.
Also, since this can also happen under "normal" conditions
(i.e: DMA doesn't copy data fast enough from/to SAI's FIFOs)
the software should be able to recover from it.

As such:
	1) Remove `z_irq_spurious()` call.
	2) Clear error flag
	3) De-escalate error message to warning message

Signed-off-by: Laurentiu Mihalcea <[email protected]>
(cherry picked from commit e224a41)
@LaurentiuM1234
Copy link
Collaborator

@nashif is it possible to re-run the CI jobs on this? looks like a seemingly unrelated issue with the twister tests?

@nashif nashif closed this Oct 17, 2024
@nashif nashif reopened this Oct 17, 2024
@nashif nashif merged commit 22b72e6 into v3.7-branch Oct 18, 2024
49 of 52 checks passed
@nashif nashif deleted the backport-77236-to-v3.7-branch branch October 18, 2024 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: DAI Backport Backport PR and backport failure issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants