Re: [PATCH v2 1/2] dmaengine: ti: edma: fix pm_runtime usage counter leak on error

From: Vinod Koul

Date: Fri Nov 20 2026 - 05:01:50 EST



On Wed, 23 Sep 2026 14:25:31 +0700, phucduc.bui@xxxxxxxxx wrote:
> pm_runtime_get_sync() leaves the runtime PM usage counter incremented even
> when it fails, but the error path in edma_probe() does not call
> pm_runtime_put_noidle() to balance it, leaking a reference each time
> resume fails.
>
> Use pm_runtime_resume_and_get() instead, which automatically drops the
> usage counter on failure, fixing the leak.
>
> [...]

Applied, thanks!

[1/2] dmaengine: ti: edma: fix pm_runtime usage counter leak on error
commit: 98316e6234ad9e77e6d6605bd8166d4ad775aac0
[2/2] dmaengine: ti: edma: Fix missing pm_runtime cleanup on probe failure
commit: 89eb5862847e437dbc9c776c6d5019d396241e8b

Best regards,
--
~Vinod