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

arch/arm64/imx9: Clear edma4 mux conf before set #310

Merged
merged 1 commit into from
Nov 5, 2024
Merged

Conversation

joukkone
Copy link

@joukkone joukkone commented Nov 4, 2024

Warm boot might fail if edma4 channel mux is
not written to default value

Summary

Impact

Testing

@joukkone joukkone requested a review from jlaitine November 4, 2024 14:06
@@ -976,6 +976,13 @@ DMACH_HANDLE imx9_dmach_alloc(uint16_t dmamux, uint8_t dchpri)

putreg32(EDMA_CH_INT, base + IMX9_EDMA_CH_INT_OFFSET);

/* Set reset value first to CH MUX */
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move inside the if below?

Warm boot might fail if edma4 channel mux is
not written to default value

Signed-off-by: Jouni Ukkonen <[email protected]>
@joukkone joukkone merged commit ab50385 into master Nov 5, 2024
11 checks passed
@joukkone joukkone deleted the imx_edma4_alloc branch November 5, 2024 10:11
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.

2 participants