Re: Re: [PATCH] PCI: rcar: fix runtime pm imbalance on error

2020-06-07 Thread dinghao . liu
> > > > err_pm_put: > > You might want to remove this label too. Thank you for pointing out this! I will fix this in the next version of patch.

Re: [PATCH] PCI: rcar: fix runtime pm imbalance on error

2020-06-06 Thread Marek Vasut
On 5/20/20 10:22 AM, Dinghao Liu wrote: > pm_runtime_get_sync() increments the runtime PM usage counter even > it returns an error code. Thus a pairing decrement is needed on > the error handling path to keep the counter balanced. Sorry for the late reply. > Signed-off-by: Dinghao Liu > --- >

[PATCH] PCI: rcar: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even it returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/pci/controller/pcie-rcar.c | 3 +-- 1 file changed, 1 insertion(+), 2