aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-xilinx-cpm.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2020-05-20 09:02:53 +0000
committerLorenzo Pieralisi <[email protected]>2020-07-07 10:29:12 +0000
commit7a790087c1ad110d1f4019021342d9ec55aead14 (patch)
tree7ddd33ad86a988d395d6b39c71113ad576402dee /drivers/pci/controller/pcie-xilinx-cpm.c
parentPCI: dwc: pci-dra7xx: Fix runtime PM imbalance on error (diff)
downloadkernel-7a790087c1ad110d1f4019021342d9ec55aead14.tar.gz
kernel-7a790087c1ad110d1f4019021342d9ec55aead14.zip
PCI: cadence: Fix runtime PM imbalance on error
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. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dinghao Liu <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pcie-xilinx-cpm.c')
0 files changed, 0 insertions, 0 deletions