Skip to content

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

Closed
pelwell wants to merge 1 commit into
raspberrypi:rpi-6.6.yfrom
pelwell:dmac_start_idle
Closed

pelwell wants to merge 1 commit into
raspberrypi:rpi-6.6.yfrom
pelwell:dmac_start_idle

Conversation

@pelwell

@pelwell pelwell commented Nov 13, 2024

Copy link
Copy Markdown
Contributor

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

pelwell commented Nov 15, 2024 •

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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