commit | 6c851417336af718587a83b27fbe83480c31fc2f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Mar 21 09:28:22 2019 +0300 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Mar 21 14:05:26 2019 -0500 |
tree | 6f6a78b62a88f787f2d1540992db70c50cab8e17 | |
parent | 8513027a73c2f2d9a4d4c82e3e805b2f9219767f [diff] |
drm/amd/powerplay: Fix double unlock bug in smu_sys_set_pp_table() We already unlocked a few lines earlier so this code unlocks twice on the success path. Fixes: 289921b03fe5e ("drm/amd/powerplay: implement sysfs of pp_table for smu11 (v2)") Reviewed-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>