[PATCH v10] dma-engine: sun4i: Simplify error handling in probe()

Csókás Bence csokas.bence at prolan.hu
Sun Jun 22 23:49:58 PDT 2025


On 2025. 06. 10. 9:53, Bence Csókás wrote:
> Clean up error handling by using devm functions and dev_err_probe(). This
> should make it easier to add new code, as we can eliminate the "goto
> ladder" in sun4i_dma_probe().
> 
> Suggested-by: Chen-Yu Tsai <wens at kernel.org>
> Reviewed-by: Jernej Skrabec <jernej.skrabec at gmail.com>
> Acked-by: Chen-Yu Tsai <wens at csie.org>
> Reviewed-by: Julian Calaby <julian.calaby at gmail.com>
> Signed-off-by: Bence Csókás <csokas.bence at prolan.hu>
> ---

Vinod, is there a problem with this patch? I'd love to hear your 
thoughts, because it has been practically unchanged since March, and 
only minor changes since the first submission last December. I can keep 
rebasing it ad nauseum every time you push to dma/next, but I think we 
both have a better use of our time. So, if you see anything that should 
prevent this from being merged, please tell me.

Thanks,
Bence




More information about the linux-arm-kernel mailing list