diff options
| author | Aditya Pakki <[email protected]> | 2020-06-13 21:21:22 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-01 01:59:22 -0400 |
| commit | 9fb10671011143d15b6b40d6d5fa9c52c57e9d63 (patch) | |
| tree | 9d95ded0889b96230f33f8e9ff14c004333c4f2d /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | f79f94765f8c39db0b7dec1d335ab046aac03f20 (diff) | |
drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync
On calling pm_runtime_get_sync() the reference count of the device
is incremented. In case of failure, decrement the
reference count before returning the error.
Acked-by: Evan Quan <[email protected]>
Signed-off-by: Aditya Pakki <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions