summaryrefslogtreecommitdiff
path: root/drivers/pci/ats.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-05-20 17:02:53 +0800
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-07-07 11:29:12 +0100
commit7a790087c1ad110d1f4019021342d9ec55aead14 (patch)
tree7ddd33ad86a988d395d6b39c71113ad576402dee /drivers/pci/ats.c
parentc2615d620a852adf43d425dea81eb854c8673cfd (diff)
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/20200520090253.2761-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>
Diffstat (limited to 'drivers/pci/ats.c')
0 files changed, 0 insertions, 0 deletions