Re: [PATCH v2] PCI: tegra: Fix return value check of pm_runtime_get_sync

Lorenzo Pieralisi
2020-01-09T12:13:09Z

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@sysgo.com>
>
> 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 ?

I am happy to merge it myself, asking to check if there is anything
I am missing.

Thanks,
Lorenzo