[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162816897692.18338.7803269041100813329.b4-ty@arm.com>
Date: Thu, 5 Aug 2021 14:09:52 +0100
From: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
To: kjlu@....edu, Dinghao Liu <dinghao.liu@....edu.cn>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
linux-renesas-soc@...r.kernel.org, Rob Herring <robh@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Marek Vasut <marek.vasut+renesas@...il.com>,
linux-kernel@...r.kernel.org,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
linux-pci@...r.kernel.org
Subject: Re: [PATCH] PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe
On Thu, 8 Apr 2021 15:24:02 +0800, Dinghao Liu wrote:
> pm_runtime_get_sync() will increase the runtime PM counter
> even it returns an error. Thus a pairing decrement is needed
> to prevent refcount leak. Fix this by replacing this API with
> pm_runtime_resume_and_get(), which will not change the runtime
> PM counter on error.
Applied to pci/rcar, thanks!
[1/1] PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
https://git.kernel.org/lpieralisi/pci/c/1e29cd9983
Thanks,
Lorenzo
Powered by blists - more mailing lists