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.
Regarding the change to devm_clk_get_enabled(), I think that should be a
separate patch from this series, where all the pre-existing dev_err()'s
get changed as well. If someone wants to work on that, go ahead, but if
no one does then after this series is merged I might get around to that too.
Bence