Re: [PATCH] omap-dma: fix dma_pool resource leak in error paths
From: Vinod Koul
Date: Tue Dec 23 2025 - 06:23:50 EST
On Mon, 03 Nov 2025 15:30:18 +0800, Haotian Zhang wrote:
> The dma_pool created by dma_pool_create() is not destroyed when
> dma_async_device_register() or of_dma_controller_register() fails,
> causing a resource leak in the probe error paths.
>
> Add dma_pool_destroy() in both error paths to properly release the
> allocated dma_pool resource.
>
> [...]
Applied, thanks!
[1/1] omap-dma: fix dma_pool resource leak in error paths
commit: 7b28c670df4508a7cb1ee31cb159b4366fcc6d4b
Best regards,
--
~Vinod