aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-generic.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2020-05-20 08:47:56 +0000
committerLorenzo Pieralisi <[email protected]>2020-07-07 10:29:12 +0000
commitc2615d620a852adf43d425dea81eb854c8673cfd (patch)
treedb245c47a48df6fbee5f11ab95b75e0ad8171105 /drivers/pci/controller/pci-host-generic.c
parentLinux 5.8-rc1 (diff)
downloadkernel-c2615d620a852adf43d425dea81eb854c8673cfd.tar.gz
kernel-c2615d620a852adf43d425dea81eb854c8673cfd.zip
PCI: dwc: pci-dra7xx: 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/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions