Files
linux/drivers/pci/controller
Dinghao Liu 1e29cd9983 PCI: rcar: Fix runtime PM imbalance in rcar_pcie_ep_probe()
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.

Link: https://lore.kernel.org/r/20210408072402.15069-1-dinghao.liu@zju.edu.cn
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
2021-08-05 14:08:57 +01:00
..
2021-07-06 10:37:46 -05:00
2021-07-06 10:56:29 -05:00
2020-08-05 18:24:22 -05:00
2021-05-04 10:43:31 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2020-08-05 18:23:14 -05:00