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

Open
wants to merge 1 commit into
base: rpi-6.6.y
Choose a base branch
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 <phil@raspberrypi.com>
@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
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.

1 participant