Skip to content
Commit 9fb10671 authored by Aditya Pakki's avatar Aditya Pakki Committed by Alex Deucher
Browse files

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: default avatarEvan Quan <evan.quan@amd.com>
Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f79f9476
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment