Re: [PATCH v2 02/10] dma-engine: sun4i: Add has_reset option to quirk

From: Csókás Bence
Date: Mon Oct 28 2024 - 12:22:51 EST


On 2024. 10. 28. 14:12, Csókás Bence wrote:


On 2024. 10. 28. 8:44, Chen-Yu Tsai wrote:
I suggest adding a patch to switch the clk API calls to devm_clk_get_enabled()
which handles all the cleanup. Similarly you can switch to

     devm_reset_control_get_exclusive_deasserted()

for this patch.


ChenYu

Huh, that's a new API! Thanks, I'll switch to that then.

Actually, it doesn't seem to be merged to Linus' tree yet. I'll probably just switch it after it is merged.

Bence