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

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