diff options
| author | Navid Emamdoost <[email protected]> | 2020-06-14 07:12:29 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-01 05:59:22 +0000 |
| commit | 9ba8923cbbe11564dd1bf9f3602add9a9cfbb5c6 (patch) | |
| tree | 4b7164d53dc68c3ad434d0af84b6fc8d40647f56 /drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | |
| parent | drm/radeon: fix multiple reference count leak (diff) | |
| download | kernel-9ba8923cbbe11564dd1bf9f3602add9a9cfbb5c6.tar.gz kernel-9ba8923cbbe11564dd1bf9f3602add9a9cfbb5c6.zip | |
drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms
in amdgpu_driver_open_kms the call to pm_runtime_get_sync increments the
counter even in case of failure, leading to incorrect
ref count. In case of failure, decrement the ref count before returning.
Signed-off-by: Navid Emamdoost <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c')
0 files changed, 0 insertions, 0 deletions
