Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad4febd9 authored by Alex Deucher's avatar Alex Deucher
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;
}
}