raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.19k stars 5.02k forks source link

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

Closed pelwell closed 2 days ago

pelwell commented 1 week ago

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.

pelwell commented 1 week ago

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.

popcornmix commented 2 days ago

This has been merged through another route.