[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YLi4CUhjpnAGrZ+A@vkoul-mobl>
Date: Thu, 3 Jun 2021 16:37:53 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Zou Wei <zou_wei@...wei.com>
Cc: yoshihiro.shimoda.uh@...esas.com, geert+renesas@...der.be,
wsa+renesas@...g-engineering.com,
laurent.pinchart@...asonboard.com, robin.murphy@....com,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] dmaengine: rcar-dmac: Fix PM reference leak in
rcar_dmac_probe()
On 31-05-21, 14:36, 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.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists