Commit ad4febd9 authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/powerplay: fix locking typo

Fixes: 2a507105 ("drm/amd/powerplay: add global PowerPlay mutex.")
Reported-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e1b489d2
...@@ -894,7 +894,7 @@ static int pp_dpm_set_sclk_od(void *handle, uint32_t value) ...@@ -894,7 +894,7 @@ static int pp_dpm_set_sclk_od(void *handle, uint32_t value)
mutex_lock(&pp_handle->pp_lock); mutex_lock(&pp_handle->pp_lock);
ret = hwmgr->hwmgr_func->set_sclk_od(hwmgr, value); ret = hwmgr->hwmgr_func->set_sclk_od(hwmgr, value);
mutex_lock(&pp_handle->pp_lock); mutex_unlock(&pp_handle->pp_lock);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment