Re: Re: [PATCH] [v2] PCI: rcar: Fix runtime PM imbalance on error

From: dinghao . liu
Date: Thu Jul 09 2020 - 02:31:33 EST


> On Sun, Jun 07, 2020 at 05:31:33PM +0800, Dinghao Liu wrote:
> > pm_runtime_get_sync() increments the runtime PM usage counter even
> > the call returns an error code. Thus a corresponding decrement is
> > needed on the error handling path to keep the counter balanced.
> >
> > Signed-off-by: Dinghao Liu <dinghao.liu@xxxxxxxxxx>
> > ---
> >
> > Changelog:
> >
> > v2: - Remove unnecessary 'err_pm_put' label.
> > Refine commit message.
> > ---
> > drivers/pci/controller/pcie-rcar.c | 6 ++----
> > 1 file changed, 2 insertions(+), 4 deletions(-)
>
> Can you rebase it on top of v5.8-rc1 and resend it with Yoshihiro's tags
> please ?
>

Sure, I will resend it soon.

Regards,
Dinghao