On Tue, 14 Oct 2025 17:05:22 +0800, Zhen Ni wrote:
When fsl_edma_alloc_chan_resources() fails after clk_prepare_enable(), the error paths only free IRQs and destroy the TCD pool, but forget to call clk_disable_unprepare(). This causes the channel clock to remain enabled, leaking power and resources.
Fix it by disabling the channel clock in the error unwind path.
[...]
Applied, thanks!
[1/1] dmaengine: fsl-edma: Fix clk leak on alloc_chan_resources failure commit: b18cd8b210417f90537d914ffb96e390c85a7379
Best regards,