Re: [PATCH v2] PCI: tegra: Fix return value check of pm_runtime_get_sync
From: Bjorn Helgaas
Date: Thu Jan 09 2020 - 13:23:38 EST
On Thu, Jan 09, 2020 at 12:13:09PM +0000, Lorenzo Pieralisi wrote:
> On Tue, Dec 17, 2019 at 08:36:32AM -0600, Bjorn Helgaas wrote:
> > On Mon, Dec 16, 2019 at 12:18:25PM +0100, David Engraf wrote:
> > > pm_runtime_get_sync() returns the device's usage counter. This might
> > > be >0 if the device is already powered up or CONFIG_PM is disabled.
> > >
> > > Abort probe function on real error only.
> > >
> > > Fixes: da76ba50963b ("PCI: tegra: Add power management support")
> > > Signed-off-by: David Engraf <david.engraf@xxxxxxxxx>
> >
> > I added Andrew's ack and a stable tag for v4.17+. Also cc'd
> > Manikanta, author of da76ba50963b.
> >
> > I put this on my pci/host-tegra branch for v5.6 for now. Lorenzo may
> > move this when he returns.
>
> Hi Bjorn,
>
> I could not find pci/host-tegra in your public repo, have you deleted it
> in the meanwhile ?
Welcome back, Lorenzo! Sorry, I forgot to push the pci/host-tegra
branch. It has been in -next for a while, though. I pushed it now.
Happy to drop the branch if you want to add more Tegra stuff, just let
me know.
Bjorn