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

dmaengine: dw-axi-dmac: Only start idle channels #6464

Closed
wants to merge 1 commit into from

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Nov 13, 2024

Attempting to start a non-idle channel causes an error message to be logged, and is inefficient. Test for emptiness of the desc_issued list before doing so.

Attempting to start a non-idle channel causes an error message to be
logged, and is inefficient. Test for emptiness of the desc_issued list
before doing so.

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor Author

pelwell commented Nov 15, 2024

Any comments, @P33M? Given that the decision is taken under the same lock as all the queue handling, I believe it is safe. I2S and UART DMA have been tested.

@pelwell pelwell mentioned this pull request Nov 15, 2024
@popcornmix
Copy link
Collaborator

This has been merged through another route.

@popcornmix popcornmix closed this Nov 20, 2024
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