[PATCH -next] dmaengine: fix PM reference leak

Vinod Koul vkoul at kernel.org
Sun May 30 21:16:36 PDT 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-arm-kernel mailing list