diff options
author | Dinghao Liu <[email protected]> | 2020-05-21 11:13:49 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <[email protected]> | 2020-05-29 11:24:31 +0100 |
commit | 1c1dbb2c02623db18a50c61b175f19aead800b4e (patch) | |
tree | 5817e6275201d6485af568f7cd0c6f5afa0b245d /drivers/fpga/fpga-bridge.c | |
parent | 63605f1cfcc56bcb25c48bbee75a679d85ba7675 (diff) |
PCI: tegra194: 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 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]>
Acked-by: Thierry Reding <[email protected]>
Acked-by: Vidya Sagar <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions