Re: [PATCH] dmaengine: fsl-edma: don't explicitly disable clocks in .remove()
From: Vinod Koul
Date: Wed Feb 04 2026 - 12:16:52 EST
On Tue, 13 Jan 2026 11:46:50 -0800, Jared Kangas wrote:
> The clocks in fsl_edma_engine::muxclk are allocated and enabled with
> devm_clk_get_enabled(), which automatically cleans these resources up,
> but these clocks are also manually disabled in fsl_edma_remove(). This
> causes warnings on driver removal for each clock:
>
> edma_module already disabled
> WARNING: CPU: 0 PID: 418 at drivers/clk/clk.c:1200 clk_core_disable+0x198/0x1c8
> [...]
> Call trace:
> clk_core_disable+0x198/0x1c8 (P)
> clk_disable+0x34/0x58
> fsl_edma_remove+0x74/0xe8 [fsl_edma]
> [...]
> ---[ end trace 0000000000000000 ]---
> edma_module already unprepared
> WARNING: CPU: 0 PID: 418 at drivers/clk/clk.c:1059 clk_core_unprepare+0x1f8/0x220
> [...]
> Call trace:
> clk_core_unprepare+0x1f8/0x220 (P)
> clk_unprepare+0x34/0x58
> fsl_edma_remove+0x7c/0xe8 [fsl_edma]
> [...]
> ---[ end trace 0000000000000000 ]---
>
> [...]
Applied, thanks!
[1/1] dmaengine: fsl-edma: don't explicitly disable clocks in .remove()
commit: 666c53e94c1d0bf0bdf14c49505ece9ddbe725bc
Best regards,
--
~Vinod