[Linux-stm32] [PATCH -next] dmaengine: fix PM reference leak

Vinod Koul vkoul at kernel.org
Mon May 31 04:16:36 UTC 2021


On 21-05-21, 20:58, Zou Wei wrote:
> pm_runtime_get_sync will increment pm usage counter even it failed.
> Forgetting to putting operation will result in reference leak here.
> Fix it by replacing it with pm_runtime_resume_and_get to keep usage
> counter balanced.

Please rebase and submit per driver.. I have already applied few fixes
for this and rejected few

-- 
~Vinod



More information about the Linux-stm32 mailing list