commit | 99147e64428b9c3bfcd97e545ae478906c79e6a8 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Apr 03 21:42:42 2017 +0300 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Apr 04 13:40:34 2017 -0400 |
tree | 220397e7dad636370d028a0554453d4d66ef5f05 | |
parent | 0f987cd0d78ead344a07c6fe215234f3be51d051 [diff] |
drm/amd/powerplay: fix a couple locking issues We should return unlock on the error path in pp_dpm_dispatch_tasks() and there is a double lock bug in pp_dpm_set_sclk_od(). Fixes: 2a5071056e6a ("drm/amd/powerplay: add global PowerPlay mutex.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>