diff options
author | 2020-06-13 20:55:39 -0500 | |
---|---|---|
committer | 2020-07-01 01:59:22 -0400 | |
commit | 6f2e8acdb48ed166b65d47837c31b177460491ec (patch) | |
tree | 889f39ad9c4641bc39a58aa8dba58ab7f8c46b26 /drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | |
parent | drm/amdgpu/gfx9: Fix incorrect firmware size calculation (diff) | |
download | linux-rng-6f2e8acdb48ed166b65d47837c31b177460491ec.tar.xz linux-rng-6f2e8acdb48ed166b65d47837c31b177460491ec.zip |
drm/radeon: fix multiple reference count leak
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.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c')
0 files changed, 0 insertions, 0 deletions