[PATCH] dmaengine: at_hdmac: use devm_clk_get_enabled()

Vinod Koul vkoul at kernel.org
Thu Sep 10 07:10:33 PDT 2026


On Tue, 08 Sep 2026 14:26:07 -0700, Rosen Penev wrote:
> Replace the devm_clk_get() + clk_prepare_enable() pair with
> devm_clk_get_enabled(), which handles enable/disable and the
> unprepare on driver detach automatically.  This lets us drop the
> err_irq cleanup label and the clk_disable_unprepare() calls in
> probe error paths and at_dma_remove().
> 
> 
> [...]

Applied, thanks!

[1/1] dmaengine: at_hdmac: use devm_clk_get_enabled()
      commit: d882935a2ca4457f6f446b02d7d08134cd9d4582

Best regards,
-- 
~Vinod





More information about the linux-arm-kernel mailing list