aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-xilinx-cpm.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2020-07-07 05:50:00 +0000
committerLorenzo Pieralisi <[email protected]>2020-07-07 10:29:12 +0000
commitcb52a40202420d3886b84ea13dba699c9da13eb0 (patch)
treef0069a4db74c6f975670f9be3258a5b0f239d20d /drivers/pci/controller/pcie-xilinx-cpm.c
parentPCI: cadence: Fix runtime PM imbalance on error (diff)
downloadkernel-cb52a40202420d3886b84ea13dba699c9da13eb0.tar.gz
kernel-cb52a40202420d3886b84ea13dba699c9da13eb0.zip
PCI: qcom: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even when it returns an error code, thus a matching 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