[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161790156432.1262.12744088516106608861.b4-ty@arm.com>
Date: Thu, 8 Apr 2021 18:06:17 +0100
From: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
To: kjlu@....edu, Dinghao Liu <dinghao.liu@....edu.cn>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Vidya Sagar <vidyas@...dia.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, Jingoo Han <jingoohan1@...il.com>,
Thierry Reding <thierry.reding@...il.com>,
Rob Herring <robh@...nel.org>,
Jonathan Hunter <jonathanh@...dia.com>,
linux-tegra@...r.kernel.org, Bjorn Helgaas <bhelgaas@...gle.com>,
linux-pci@...r.kernel.org
Subject: Re: [PATCH] PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert
On Thu, 8 Apr 2021 15:26:58 +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/tegra, thanks!
[1/1] PCI: tegra: Fix runtime PM imbalance in pex_ep_event_pex_rst_deassert
https://git.kernel.org/lpieralisi/pci/c/571cdd5294
Thanks,
Lorenzo
Powered by blists - more mailing lists