Re: [PATCH] dmaengine: sprd: Fix runtime PM reference leak in probe
From: Vinod Koul
Date: Thu Sep 03 2026 - 12:40:05 EST
On Thu, 13 Aug 2026 23:31:49 +0800, Ruoyu Wang wrote:
> pm_runtime_get_sync() increments a device's usage counter even when it
> fails. sprd_dma_probe() currently jumps directly to controller clock
> cleanup on that error, bypassing both pm_runtime_put_noidle() and
> pm_runtime_disable(). This can happen if the preceding unchecked
> pm_runtime_set_active() fails and the following runtime-resume attempt
> also returns an error.
>
> [...]
Applied, thanks!
[1/1] dmaengine: sprd: Fix runtime PM reference leak in probe
commit: a7df136ec529ee49a789c5029bc37b98b0d4bedd
Best regards,
--
~Vinod